Repository navigation
fix(crawler): cap stored entity refs and edges, skip corrupt refs rows #2135 - #2158
Merged
Merged
Conversation
…#2135 Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
boat/entity-map-ref-cap-2135
branch
from
November 20, 2026 21:02
c0a56c3 to
94aa796
Compare
nc9
marked this pull request as ready for review
November 20, 2026 21:16
nc9
added a commit
that referenced
this pull request
Nov 21, 2026
* origin/main: test(audit-engine): carriedCheckAsFailure keeps the continuation mark #2098 (#2166) fix(rules): correct zoom-disabled 1.4.4 wording, related criteria for wcagNone rules #2115 (#2174) refactor(cli): list bash completion flags one per line #2116 (#2175) feat(rules): waive a public Supabase table by bare name in security/supabase-rls #2103 (#2177) test(rules): every site rule emits a check on a clean site, with a shrinking baseline #1741 (#2179) feat(rules): report each 5xx page as its own crawl/server-errors finding #2130 (#2181) fix(rules): one finding per leaked field across json-sensitive-fields and auth-endpoint-disclosure, deduped by the runner #2083 (#2154) fix(cli): report --input keeps meta.partialAudit and publishes with it #2102 (#2153) fix(cli): local incremental re-audit counts carried findings in the full audit's check units (#2159) fix(crawler): cap stored entity refs and edges, skip corrupt refs rows #2135 (#2158) fix(crawler): a quick crawl fetches the start URL when a sitemap lists it past maxPages #2127 (#2157) fix(rules): security/exposed-actuator reads a 5xx through isUnverifiedReply, never part of a pass #2101 (#2151) fix(rules): hold large text to 3:1 in a11y/color-contrast #2105 (#2155) fix(cli): size the report list date column from rendered dates #2095 (#2152) Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
added a commit
that referenced
this pull request
Nov 21, 2026
* origin/main: test(audit-engine): carriedCheckAsFailure keeps the continuation mark #2098 (#2166) fix(rules): correct zoom-disabled 1.4.4 wording, related criteria for wcagNone rules #2115 (#2174) refactor(cli): list bash completion flags one per line #2116 (#2175) feat(rules): waive a public Supabase table by bare name in security/supabase-rls #2103 (#2177) test(rules): every site rule emits a check on a clean site, with a shrinking baseline #1741 (#2179) feat(rules): report each 5xx page as its own crawl/server-errors finding #2130 (#2181) fix(rules): one finding per leaked field across json-sensitive-fields and auth-endpoint-disclosure, deduped by the runner #2083 (#2154) fix(cli): report --input keeps meta.partialAudit and publishes with it #2102 (#2153) fix(cli): local incremental re-audit counts carried findings in the full audit's check units (#2159) fix(crawler): cap stored entity refs and edges, skip corrupt refs rows #2135 (#2158) fix(crawler): a quick crawl fetches the start URL when a sitemap lists it past maxPages #2127 (#2157) fix(rules): security/exposed-actuator reads a 5xx through isUnverifiedReply, never part of a pass #2101 (#2151) fix(rules): hold large text to 3:1 in a11y/color-contrast #2105 (#2155) fix(cli): size the report list date column from rendered dates #2095 (#2152) Signed-off-by: Nik Cubrilovic <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2135
Per-page
entity_map_pages.refskeeps at most 1,000 sorted keys; past that it is stored as{keys, total}(no schema change, old bare-array rows still read).entity_edgeskeeps at most 1,000 rows per source entity. The rest of the map still writes.getEntityMapRowsskips an undecodable refs row and returns it inwarnings;loadEntityMaplogs each. Edge truncation count is not stored (would need a migration); say if you want one.Acceptance criteria
a page with 20k expanded refs stores a bounded, sorted row with the total,edges are capped per source...writtenand other rowsa corrupt refs row is skipped with a warningGates
crawler full suite (scripts/test-suites.ts --run crawler): 1179 pass 0 fail. cli entities/mcp tests 44 pass. typecheck crawler and cli pass; cli format:check and lint pass.
Docs: no user-facing change. Agent skill: no change.