You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v1 and streaming engines count a 4xx error page differently in per-page-rule messages (31 vs 30 pages) #1359
Found while pinning finding messages (#229). On a crawl with an injected 404 page that has no body (an EMPTY_PARSED_PAGE append in v1), the resident engine counts it as a page and the streaming engine does not. The finding status is identical, the message and value differ:
url/slug-convention: v1 "All 31 page(s) follow ...", value 31; streaming "All 30 page(s) ...", value 30
perf/total-byte-weight: v1 "across 31 pages ... average page 52KB"; streaming "across 30 pages ... average page 54KB"
Repro: packages/audit-engine/tests/streaming-rules-golden.test.ts, test "edge crawl: injected 4xx", compare the message/value/expected fields of the finding tuples.
Acceptance Criteria
The v1 and streaming engines report the same page count in url/slug-convention and perf/total-byte-weight for a crawl containing a bodyless 4xx page
The edge-crawl golden test compares message, value and expected for every rule with no exclusions
Which count is right (error pages in or out of per-page denominators) is decided and noted in the rule docs
Activity
test(audit-engine): rename the parity baseline entry, narrow the #1359 …
test(audit-engine): rename the parity baseline entry, narrow the #1359 …
fix(rules): bodiless 4xx pages are out of the url/slug-convention and…
fix(rules): bodiless 4xx pages are out of the url/slug-convention and…
nc9 commentedon Nov 1, 2026
Shipped in v0.0.154, checked against main: all three acceptance criteria are met (the docs validate step ran in the release). Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.154
nik