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
audit-engine: publish-cap full sample reaches ~45 MB on a 25-page report and forces tier 3 #2430
bugSomething isn't workingenginepackages/audit-engine, crawler, page-classifierin-progressclaimed by a lane; see ops/state/claims.tsvsize: Mhamsterwheel
A 25-page cloud audit published its report only at report-cap tier 3 (byte admission). Two rule classes were dropped, along with the entity map and the page map. The capper measured a full sample of about 45 MB, while the largest sections after reduction were only about 170 KB (ruleResults 132 KB, checkTallies 21 KB, thirdParty 7 KB). The full sample is assembled in packages/audit-engine/src/publish-cap.ts from the first bytes of every class plus the entity map and page map, so the bulk is coming from one of those inputs, not from the report sections. The 1 MiB report design expects real reports to fit at tier 0-1.
Acceptance Criteria
The input that makes a 25-page report's full sample about 45 MB is identified (entity map, page map or a per-class sample) and stated in the PR.
A fixture of a comparable 25-page report fits at tier 0 or 1, with no dropped classes and no dropped entity map or page map.
A regression test keeps that fixture's full sample under a stated byte budget, and fails if the oversized input comes back.
bugSomething isn't workingenginepackages/audit-engine, crawler, page-classifierin-progressclaimed by a lane; see ops/state/claims.tsvsize: Mhamsterwheel
Activity
fix(audit-engine): bound class evidence only when the full sample ove…
docs(changelog): describe the conditional evidence trim #2430
fix(audit-engine): bound class evidence so a 25-page report's publish…
fix(audit-engine): bound class evidence only when the full sample ove…
docs(changelog): describe the conditional evidence trim #2430
fix(audit-engine): unbounded class evidence keeps a 25-page report's …