Skip to content

Use the shared cache retention action - #5922

Merged
chreekat merged 2 commits into
mainfrom
ci/shared-cache-retention
Nov 6, 2026
Merged

chreekat merged 2 commits into
mainfrom
ci/shared-cache-retention

Conversation

@fruffy

@fruffy fruffy commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Replace .github/scripts/cache_retention.py with the shared p4lang/.github/CI/cache-retention action, pinned to 4bec527fd3988345ec240ae8f4f000bc938e4259 (the revision used by PI).
  • Preserve the existing ccache-v2- / bazel-v2- prefixes and 2 GB PR / 9 GB total storage targets.
  • Remove the repository checkout and its contents permission from maintenance, and add a manual dry-run input.
  • Update the cache documentation to use the shared maintenance workflow.

Uses the merged shared action from p4lang/.github#22. Companion PI adoption: p4lang/PI#694.

@fruffy fruffy added the infrastructure Topics related to code style and build and test infrastructure. label Nov 2, 2026
@fruffy
fruffy requested a review from chreekat November 3, 2026 00:43
Replace the local retention script with the composite action from p4lang/.github#22, pinned to the same revision as PI. Keep the existing cache prefixes and storage budgets, and expose a manual dry-run option.

Signed-off-by: fruffy <fruffy@nyu.edu>
Signed-off-by: fruffy <fruffy@nyu.edu>
@chreekat
chreekat force-pushed the ci/shared-cache-retention branch from d206361 to bdc3652 Compare November 6, 2026 06:27
@chreekat
chreekat enabled auto-merge November 6, 2026 06:28
@chreekat
chreekat added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit 725d028 Nov 6, 2026
25 checks passed
@chreekat
chreekat deleted the ci/shared-cache-retention branch November 6, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Topics related to code style and build and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants