Repository navigation
feat: incremental scans that reuse unchanged results - #93
Merged
Merged
Conversation
Skip content hashing when size and mtime still match the cached detector manifest, index detector inputs once per scan, and prove ≥10× warm speedup with identical findings on a corpus-shaped fixture and offline corpus sample. Co-authored-by: Cursor <cursoragent@cursor.com>
Strip trailing slashes without a ReDoS-prone regex, unit-test fingerprint and input-index helpers so changed-line mutation stays above the floor, and drop the deleted antono4/openmind corpus pin that failed affected runs. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Pushed fixes for CodeQL (linear trailing-slash trim), mutation coverage on fingerprint helpers, and removal of the deleted |
Record rust at 199 after removing antono4/openmind (GitHub 404), and raise other bucket floors to the current pinned counts. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Corpus targets updated: rust minimum is now 199 after removing the deleted |
Cover Windows path normalization, duplicate basename/extension indexing, and fingerprint warm hits that preserve unclassified references. Co-authored-by: Cursor <cursoragent@cursor.com>
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 #50
What changed
npm run benchmark:scan-cachefor offline corpus proof.Quality bar
Read docs/QUALITY.md before you change code, data, or docs. CI enforces its nine criteria: add no new debt, and allowlist existing debt only with an expiry.
Checks CI cannot make
changes/for user-visible changes (not for docs, test, ci, chore, build, refactor, or style)Verification
npm run checknode --test dist/tests/scan-cache-speed.test.js(asserts ≥10× and identical findings; warm path reads zero file bytes)OFFING_CORPUS_CACHE=~/.cache/offing-corpus npm run validate:public-repos -- --repo expressjs/express --repo sindresorhus/got --repo fastify/fastify --repo koajs/koa --repo axios/axiosOFFING_CORPUS_CACHE=~/.cache/offing-corpus npm run benchmark:scan-cache -- --offline→ aggregate 28.95×, identical findings on all five repositoriesNotes for reviewers
benchmark:scan-cacheis a local/offline proof helper; the CI gate is the unit test plusnpm run check.Made with Cursor