Repository navigation
test(hub): run sanitizer-extraction in the isolated perf pass too - #159
Merged
Merged
Conversation
sanitizer-extraction holds unscaled wall-clock budgets and O(N) scaling ratios, like security-audit, but still ran in the parallel core pass. On the v2.8.33 release PR, which only changes version strings and the changelog, R7-PI's 2 MiB unclosed-links scan took 221.6ms against a limit of 16x its 256 KiB sample (13.8ms, so 220.8ms). The scanner (internal/extract/ prompt_injection.go) has not changed since #74. It now runs in the same one-file-at-a-time pass as security-audit, with no other test file competing for CPU. Every test still runs once and budgets are unchanged: 370 core + 77 isolated = 447, as before. Coverage still includes both files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Brett Bartrum <17114576+bartrumb@users.noreply.github.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.
sanitizer-extractionholds unscaled wall-clock budgets and O(N) scaling ratios, likesecurity-audit, but it still ran in the parallel core pass. On the v2.8.33 release PR (#157), which only changes version strings and the changelog, R7-PI's 2 MiB unclosed-links scan took 221.6ms. Its limit is 16× the 256 KiB sample: 13.8ms × 16 = 220.8ms. The scanner (internal/extract/prompt_injection.go) hasn't changed since #74.It now runs in the same one-file-at-a-time pass as
security-audit(#156), with no other test file competing for CPU. Every test still runs once, and the budgets are unchanged.Test plan
node scripts/run-tests.mjsand--coverage --include-sdkboth pass locally: 370 core + 77 isolated = 447 tests, as before. The coverage report still covers both files.🤖 Generated with Claude Code