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: run the cache janitor at the end of the merge queue and enforce the 10 GB budget by LRU #1854
The declared cache families now total about 16.2 GB, against the 10 GB repository limit. The maintainer accepts that. But when live usage goes over 10 GB, GitHub evicts by its own LRU order and can drop a seed a required job restores. That is the #1269 failure.
The cache janitor currently runs in ci-pre.yml, at the start of merge-group and master-push runs. It evicts only within families, so it neither sees what the queue run saves nor keeps the repo total under budget.
Change
Move the cache janitor to the end of the merge queue run: a final ci.yml job, needs: every other job, if: always() && github.event_name == 'merge_group', keeping the repo-wide cache-janitor concurrency group (never cancelled). The merge queue serializes master writes, so this point has exclusive access to the cache. Master-push sweeps stay as they are.
Keep ci-gate independent of the janitor: a janitor failure is reported and does not eject the PR from the queue.
Acceptance
RED → GREEN CI test (ci/): the merge-group janitor job exists, is last (needs covers every other job), runs only on merge_group, and calls cache janitor at the pinned version.
Activity
ci: sweep caches at the end of the merge queue under the 10 GB budget (…