Skip to content

ci: merge_group trigger, cancel-superseded and end-of-queue cache janitor (GEN-022) - #225

Merged
zackees merged 1 commit into
mainfrom
ci/gen-022-merge-queue
Oct 26, 2026
Merged

zackees merged 1 commit into
mainfrom
ci/gen-022-merge-queue

Conversation

@zackees

@zackees zackees commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Steps 1-2 of GEN-022's merge-queue transition (forge-ci/ci.yml#432). Same shape as forge-ci/zccache#1998 and forge-ci/soldr#3923.

  • ci.yml triggers on merge_group (types: checks_requested). paths-ignore does not apply to merge_group, so every queued PR runs the full workflow. No job has an event if:, so a queue run is the same job set as a PR run.
  • cancel-superseded (#409): runs only on merge_group, no needs:. It runs ci/cancel_superseded.py, copied from ci: merge_group trigger, cancel-superseded and end-of-queue cache janitor (GEN-022) zccache#1998.
  • cache-janitor: runs ci-lint cache janitor after every other job on always() (not on PRs) and holds the non-cancelling cache-janitor group. reld declares [cache].budget = "9.5GB". It checks out ci-lint at current forge-ci/ci.yml main (953c4e1) rather than the linter pin (92106df), because the pin predates the repo-wide budget LRU pass (feat(cache): merge queue policy; end-of-queue janitor enforces [cache].budget by LRU (#405) ci.yml#407). That adds one CT-004 finding, beside the existing CT-004 on reuse-decision's b93b8c4 checkout.
  • ci.toml: merge_group added to [allow].workflows for ci.yml. [allow].permissions grants actions: write to cancel-superseded and cache-janitor.
  • reld has no local-gate.toml, so there is no verify exemption to add.
  • No job runs ci-lint plan, so the linter pin is unchanged (step 1 does not apply).

ci-lint precheck --local (forge-ci/ci.yml main): GEN-022 is cleared. The only new finding is the CT-004 above. pytest ci/tests: 375 passed. ruff is clean on the new script.

Not included: the queue ruleset (step 3). Suggested required checks: Format, clippy, and licenses, Dylint host-platform boundary, Phase 1 / linux-gnu x86_64, Phase 1 / linux-gnu aarch64, Phase 1 / windows-gnu x86_64, Phase 1 cross build (linux -> windows-msvc), Phase 1 cross build (linux -> macos-arm64), Phase 1 / windows-msvc x86_64, Phase 1 / macos arm64, Python, Cross release (linux -> x86_64-pc-windows-gnu).

Refs forge-ci/ci.yml#432

…itor (GEN-022)

Steps 1-2 of GEN-022's merge-queue transition (forge-ci/ci.yml#432).

Refs forge-ci/ci.yml#432
@zackees
zackees merged commit 5ceca49 into main Oct 26, 2026
24 checks passed
@zackees
zackees deleted the ci/gen-022-merge-queue branch November 5, 2026 05:51
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.

1 participant