Skip to content

fix(scan): stop one over-long url from dropping the wayback feed#321

Open
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:fix/wayback-long-line-feed
Open

fix(scan): stop one over-long url from dropping the wayback feed#321
TBX3D wants to merge 1 commit into
vmfunc:mainfrom
TBX3D:fix/wayback-long-line-feed

Conversation

@TBX3D

@TBX3D TBX3D commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

the wayback line scanner capped each line at 1mb, so a single archived
url with a huge query string made scanner.Err return ErrTooLong and the
whole feed was discarded. read lines without a per-line cap, still bounded
by the passiveMaxBytes read limit.

the wayback line scanner capped each line at 1mb, so a single archived
url with a huge query string made scanner.Err return ErrTooLong and the
whole feed was discarded. read lines without a per-line cap, still bounded
by the passiveMaxBytes read limit.
@TBX3D TBX3D requested a review from vmfunc as a code owner July 3, 2026 23:56
@github-actions github-actions Bot added size/s <50 lines changed scan changes to scan engine tests test changes labels Jul 3, 2026
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@7ea1cd2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/scan/passive.go 88.88% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage        ?   54.74%           
=======================================
  Files           ?       81           
  Lines           ?     6875           
  Branches        ?        0           
=======================================
  Hits            ?     3764           
  Misses          ?     2842           
  Partials        ?      269           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

pr summary

2 files changed (+39 -10)

category files
go source 2
tests 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scan changes to scan engine size/s <50 lines changed tests test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants