Skip to content

ci: Give services-validator's uv and timestamp caches a pr-<N> key (#962) - #2668

Merged
zackees merged 2 commits into
masterfrom
infra/962-cache013-services-validator
Oct 27, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/962-cache013-services-validator

Conversation

@zackees

@zackees zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member

ci-lint burn-down (CACHE-013): .github/actions/services-validator/action.yaml.

This composite action is the last single-file CACHE-013 unit, and it carried two findings. The exception is path-scoped, so both had to clear before the block could leave (the three composite actions in #2663 each had only the setup-uv finding).

What changes

Evidence

  • RED 1b3cd0c47 — ci/test_cache013_actions.py extended to include services-validator/action.yaml in TARGETS and to require the pr-<N> component on the timestamp save key; on master it fails 3 cases (cache-suffix: absent, the save key unsuffixed, the exception still present).
  • GREEN 546d9b06a — as above; uv run --no-project ci/test_cache013_actions.py → 3 tests OK, ci/test_ci_toml.py → 34 tests OK, [email protected] check clean.
  • ci-lint precheck: 11 violation(s), 528 approved exception(s) (baseline 530); the file's two CACHE-013 findings are gone, no new finding.

No docs/features.md ledger line: CI configuration only, no user-visible change.

Refs #962

The composite action's setup-uv step has no cache-suffix and its
Save Timestamp Cache step's actions/cache/save key has no pr-<N>
component; extend ci/test_cache013_actions.py to require both, so it
fails on master until they carry one.
)

The composite action's Set Up uv step saved its cache with no
cache-suffix and its Save Timestamp Cache step wrote an
actions/cache/save key with no pr-<N> component, so the janitor could
never reclaim either from a closed PR. Both now carry the expression
#2590/#2663 used; the Restore Timestamp Cache key gets the same
component so restore and save still agree (empty off a PR). The file's
CACHE-013 [[exceptions]] block in ci.toml is deleted.
@zackees
zackees added this pull request to the merge queue Oct 27, 2026
Merged via the queue into master with commit 7180296 Oct 27, 2026
32 checks passed
@zackees
zackees deleted the infra/962-cache013-services-validator branch October 27, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant