Repository navigation
test(rules): replace 1 s wall-clock limits in two perf tests with ratios #2091 - #2161
Merged
Merged
Conversation
…ios #2091 Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
nc9
added a commit
that referenced
this pull request
Nov 20, 2026
…pass (#2082) (#2164) security/unauthenticated-api reports every leaking current-user endpoint with no hand-off; after the site pass the runner keeps exactly one finding per endpoint (security/auth-endpoint-disclosure's when its results include the endpoint, otherwise unauthenticated-api's). Before, an endpoint handed to the auth rule lost its finding when that rule threw or ran past its time budget. The deferredToAuth detail on the unauthenticated-api clean row is replaced by reportedBy/reportedElsewhere. landed during Actions billing lock: Daytona CI pubci-11202044-240a587 (PASS at 240a587; quality, tests, build; DCO 2/2). 4 behind main at merge (#2143, #2150, #2161, #2160): no overlap with packages/rules/src/runner.ts, packages/rules/src/security/ or the 1886/2082 tests. Hold-list security-rule change: merged on Nik's approval. 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 #2091.
a11y-nested-tables-3355: 5,000 nested blocks now asserts the rule is >3x faster than the quadratic per-block reference oracle on the same input (measured ~10x). Both runs slow alike under CI load.component-occurrence-defects: the 5,000-link nav asserts time(5000)/time(1250) < 9 (linear ~4, quadratic ~16), parse excluded, best of three. The deep-wrapper test lost its 1 s assertion (its result assertions stay) and was renamed.Acceptance:
Gates:
bun run scripts/test-suites.ts --run rules12504 pass, 0 fail;packages/rulestypecheck clean. No docs change. Agent skill: no change.