You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: route services-validator's timestamp cache pair through the cache wrapper (CACHE-001, #962) #2776
The last approved CACHE-001 callsites in the baseline are .github/actions/services-validator/action.yaml's timestamp cache pair: a raw actions/cache/restore (step "Restore Timestamp Cache", line 68) and a raw actions/cache/save (step "Save Timestamp Cache", line 108). The .github/actions/cache wrapper from #2733 exists, so both can go through it and the path's [[exceptions]] block can leave ci.toml (#2737 split this out of the tracker).
Current state (origin/master, ci-lint precheck)
ci-lint precheck: 5 violation(s), 420 approved exception(s), 10 needs_review — CACHE-001 reports exactly these 2 findings, both on that one path.
Work
RED: extend ci/test_ci_toml.py's converted-path pin so it also covers a composite action (paths relative to .github), add actions/services-validator/action.yaml, and pin that a converted path keeps no CACHE-001 block. On master the raw-call assertion fails at lines 65 and 106.
GREEN: call ./.github/actions/cache with mode: restore / mode: save, keeping the save's github.ref == 'refs/heads/master' guard, its outputs.cache-hit != 'true' condition and both key/restore-key values unchanged. Delete the path's CACHE-001 [[exceptions]] block.
Acceptance
ci-lint precheck shows 5 violation(s), 418 approved exception(s), 10 needs_review, no CACHE-001 section, and ci/test_ci_toml.py + ci/test_cache013_actions.py pass. The path's CACHE-002 block stays (those keys are commit-keyed on purpose).
RED: extend ci/test_ci_toml.py's converted-path pin to composite actions and add .github/actions/services-validator/action.yaml; on master its two raw actions/cache steps fail the assertion.
GREEN: route the restore/save pair through ./.github/actions/cache with an explicit mode:, keys/paths/guards unchanged; delete the path's CACHE-001 [[exceptions]] block.
Verify: ci-lint precheck 420 -> 418 approved exceptions with no CACHE-001 section, plus ci/test_ci_toml.py and ci/test_cache013_actions.py.
Claiming: services-validator CACHE-001 burn-down — the investigation is the fix here (one composite action, two callsites). Branch infra/2773-services-validator-cache, RED 952617e20 / GREEN 68aa992f1, PR next.
PR up: #2777 — the pair calls ./.github/actions/cache (mode: restore/mode: save), keys/paths/guards unchanged, and the path's CACHE-001 block is gone. ci-lint precheck: 420 -> 418 approved exceptions, no CACHE-001 finding. Queued once PR CI is green.
Fixed by #2777, merged to master as 505a9e3a7 (squash) at 11:24Z.
Both raw actions/cache steps in .github/actions/services-validator/action.yaml now call ./.github/actions/cache (mode: restore / mode: save), with the save's github.ref == 'refs/heads/master' guard, its outputs.cache-hit != 'true' condition and both key/restore-key values unchanged.
The path's CACHE-001 [[exceptions]] block is gone from ci.toml, and ci/test_ci_toml.py's converted-path pin now covers composite actions (paths relative to .github), so a converted path cannot keep a CACHE-001 block again.
Verified on master 505a9e3a7: uvx --from git+https://github.com/zackees/ci.yml@a1917ce7 ci-lint precheck reports 5 violation(s), 418 approved exception(s), 10 needs_review with zero CACHE-001 findings (420 -> 418 approved exceptions across ci: route services-validator's timestamp cache pair through the cache wrapper (CACHE-001, #962) #2777 and its sibling).
Nothing is outstanding on this issue, so closing it.
Activity
zackees commentedon Oct 28, 2026
Claiming: investigation
Plan (one PR):
zackees commentedon Oct 28, 2026
/ready
zackees commentedon Oct 28, 2026
Claiming: services-validator CACHE-001 burn-down — the investigation is the fix here (one composite action, two callsites). Branch
infra/2773-services-validator-cache, RED952617e20/ GREEN68aa992f1, PR next.zackees commentedon Oct 28, 2026
PR up: #2777 — the pair calls
./.github/actions/cache(mode: restore/mode: save), keys/paths/guards unchanged, and the path's CACHE-001 block is gone.ci-lint precheck: 420 -> 418 approved exceptions, no CACHE-001 finding. Queued once PR CI is green.zackees commentedon Oct 28, 2026
Fixed by #2777, merged to master as
505a9e3a7(squash) at 11:24Z.actions/cachesteps in.github/actions/services-validator/action.yamlnow call./.github/actions/cache(mode: restore/mode: save), with the save'sgithub.ref == 'refs/heads/master'guard, itsoutputs.cache-hit != 'true'condition and both key/restore-key values unchanged.[[exceptions]]block is gone fromci.toml, andci/test_ci_toml.py's converted-path pin now covers composite actions (paths relative to.github), so a converted path cannot keep a CACHE-001 block again.505a9e3a7:uvx --from git+https://github.com/zackees/ci.yml@a1917ce7 ci-lint precheckreports5 violation(s), 418 approved exception(s), 10 needs_reviewwith zero CACHE-001 findings (420 -> 418 approved exceptions across ci: route services-validator's timestamp cache pair through the cache wrapper (CACHE-001, #962) #2777 and its sibling).Nothing is outstanding on this issue, so closing it.