Repository navigation
feat(bench): permanent --rule-cache off|cold|warm arm in the template fan-out bench (#1971) - #2150
Merged
Merged
Conversation
… fan-out bench (#1971) Signed-off-by: Nik Cubrilovic <[email protected]>
6 tasks done
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.
Part of #1971 (AC1 only; AC2 to AC4 need the Mac at low load).
The arm itself landed earlier (b7c3f8f). This PR makes it testable and routes it through the real switch:
apps/cli/scripts/lib/rule-cache-arm.ts: arm parsing,armEnv(off sets the realSQUIRREL_RULE_CACHE=offkill switch, cold/warm clear it so an ambient value cannot change the arm),armCacheStore(goes throughruleCacheEnabledandcreateProjectRuleCacheStore),prepareArmCache(cold truncates before every run, warm fills once when empty, off leaves it alone).rule-cache off vs <arm>summary line.apps/cli/tests/scripts/rule-cache-arm-1971.test.ts(7 pass; cold-truncate mutation fails 1).Gates (apps/cli): format:check, lint, typecheck clean; scripts/test-suites.ts --check OK; changelog check OK. No real measurement run. Dev-only, no changelog entry, no skill change.