Skip to content

fix(ci): don't serve cached results for disabled-cache test commands#23658

Merged
dbanks12 merged 3 commits into
merge-train/fairiesfrom
db/fix-ci-disabled-cache-skip
May 29, 2026
Merged

fix(ci): don't serve cached results for disabled-cache test commands#23658
dbanks12 merged 3 commits into
merge-train/fairiesfrom
db/fix-ci-disabled-cache-skip

Conversation

@dbanks12
Copy link
Copy Markdown
Contributor

run_test_cmd's per-command result cache keyed on the command string alone and never inspected the disabled-cache marker. Commands tagged disabled-cache (e.g. all TXE tests on merge-train/fairies, per noir-projects/noir-contracts/bootstrap.sh::test_cmds) were therefore served stale cached passes and skipped — even though the sibling layer filter_cached_test_cmd already honors the marker.

Consequence: aztec-nr-level changes such as contract demotions merged without their TXE tests ever running. See the test-engine log http://ci.aztec-labs.com/b893262917583a30 for the auth-registry demotion PR #23106, which logged 709 SKIPPED / 0 executed.

Fix: bypass the result cache for disabled-cache commands in run_test_cmd, mirroring filter_cached_test_cmd's marker check. No behavior change for other commands.

@dbanks12 dbanks12 requested a review from charlielye as a code owner May 29, 2026 01:32
dbanks12 added 2 commits May 29, 2026 01:45
Exercises run_test_cmd end-to-end against an isolated real redis: a normal
cached command is SKIPPED without executing, while a disabled-cache command
with the same stored pass is run anyway (cache bypassed). Guards against
regressing the disabled-cache check in the result-cache read.
@dbanks12 dbanks12 requested a review from ludamad May 29, 2026 14:03
@dbanks12 dbanks12 merged commit 7ca4dd2 into merge-train/fairies May 29, 2026
13 checks passed
@dbanks12 dbanks12 deleted the db/fix-ci-disabled-cache-skip branch May 29, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants