Skip to content

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

Merged
zackees merged 3 commits into
mainfrom
ci/merge-queue-432
Oct 26, 2026
Merged

zackees merged 3 commits into
mainfrom
ci/merge-queue-432

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).

  • ci.yml triggers on merge_group (types: checks_requested). paths-ignore does not apply to merge_group.
  • cancel-superseded (ci: clean cargo-chef wrapper placeholders #409): runs only on merge_group, no needs:. It runs ci/cancel_superseded.py, ported from talos-hq/clud.
  • cache-janitor: runs ci-lint cache janitor after every other job on always() (not on PRs) and holds the non-cancelling cache-janitor group. Shaped like forge-ci/kernal-api's. It uses the same ci-lint ref as ci-mode.
  • ci.toml: merge_group added to [allow].workflows for ci.yml. [allow].permissions grants actions: write to msrv (an existing finding), cancel-superseded and cache-janitor.
  • local-gate.toml: cancel-superseded is verify-exempt (GATE-002).
  • No queue-required job runs ci-lint plan, so the pin is unchanged.

ci-lint precheck --local: GEN-022 is cleared. The only new findings are SEC-004/CT-004 on the new checkout steps, which follow the existing ci-mode convention (actions/checkout@v6, ci-lint ref 41fcbca). The workflow-shape tests pass and the local gate passed.

Not included: the queue ruleset (step 3). Suggested required checks: CI mode, Formatting, Dylint, MSRV (1.95.0), Reflink e2e / Reflink e2e (btrfs), Documentation, Miss overhead budget.

Refs forge-ci/ci.yml#432

…itor (GEN-022, forge-ci/ci.yml#432)

Steps 1-2 of GEN-022's transition: ci.yml triggers on merge_group, the
queue run cancels its superseded runs for the same PR (#409; ported from
talos-hq/clud's ci/cancel_superseded.py), and every queue run / main push
ends with ci-lint cache janitor holding the non-cancelling cache-janitor
group (#405, shaped like forge-ci/kernal-api's). No ci-lint plan runs in a
queue-required job, so the ci-lint pin is unchanged.
Local-Gate: v1 tree=ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e secs=1193 lanes=lint:run,py-tests:run,check:run,docs:run,dylint:run,tests:run
Ci-Attestation: {"at":1793014046,"gate":"rust/all/fmt","host":"linux-x86_64","key":"f83d697107561a1e826acbbe5060b4ec3a52607cf977ba673635c0e9e096dc61","lane":"lint","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":48,"stamp":"a63b3a22f81e1461a0c35c603bb9beee","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"python/all/static","host":"linux-x86_64","key":"f83d697107561a1e826acbbe5060b4ec3a52607cf977ba673635c0e9e096dc61","lane":"lint","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":48,"stamp":"797028527b645e5f89b55d1a1ab42397","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"python/all/test","host":"linux-x86_64","key":"955d861b6952545a45885728988821685fc63b6594fd3f2573a63d16c874479d","lane":"py-tests","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":39,"stamp":"c52c3621b88bcf15a2dcdcbb07641b7c","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"rust/x86_64-unknown-linux-gnu/check","host":"linux-x86_64","key":"7f65059d8725236847b5c51fabd9bccf67db374970ac4e4aa0c948f325deb4ee","lane":"check","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":99,"stamp":"ef6f001b44808364f2d08926765e55b1","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"rust/x86_64-unknown-linux-gnu/doc","host":"linux-x86_64","key":"0beed454a3ae0b6c1a414bba6bac2cc387641ec5c4f85cd563a3706ff0074ec3","lane":"docs","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":34,"stamp":"c50dbefc2192e0eeebb078d4b941fd0f","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"28b08fe9338674867eacaad1bef33ca5893e1c3b3ea17843a3c6f1f7e5ef36ad","lane":"dylint","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":330,"stamp":"8d588be0052e7666277a52ad54941b9d","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Ci-Attestation: {"at":1793014046,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"da462fc19ecc6a9e1036740a0bfec0899900849de291cf8f7d912b0fbcde9e2e","lane":"tests","parents":["3f74cd3010da5c0768b3f57efd1d38828783a1ca"],"secs":643,"stamp":"67dc747880108ff6c06c4cec6703b152","tree":"ad13d710bd33bb8edd3f3ce4c1fcff8bbf4b215e","v":1,"via":"run"}
Local-Gate: v1 tree=8f63bd51324b046eefeef8e6abf3f68d7ee84991 secs=1263 lanes=lint:run,py-tests:run,check:run,docs:run,dylint:run,tests:run
Ci-Attestation: {"at":1793015991,"gate":"rust/all/fmt","host":"linux-x86_64","key":"3bc4eff4edf5b792e7e40f945fa14252caafe6d8fee2b811d0edd19505705d66","lane":"lint","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":12,"stamp":"a4d9276b1bcd8c8e93d46b8d80d80978","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"python/all/static","host":"linux-x86_64","key":"3bc4eff4edf5b792e7e40f945fa14252caafe6d8fee2b811d0edd19505705d66","lane":"lint","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":12,"stamp":"c91854ddc807ad1775d89d530d56bff0","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"python/all/test","host":"linux-x86_64","key":"037343246bc66dbc78d1bf516d726e5a4083958b5bcfb2db4ff21189e8ea5786","lane":"py-tests","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":41,"stamp":"9bf808e3da6837df4a6f7cf3ebd83680","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"rust/x86_64-unknown-linux-gnu/check","host":"linux-x86_64","key":"ddd111f04f7a44c104c548a808c76ac314f4997d5ecf4117f3e59a2bfb06f6ca","lane":"check","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":236,"stamp":"43b2f78820a459abeed361c41d953673","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"rust/x86_64-unknown-linux-gnu/doc","host":"linux-x86_64","key":"af3b644360718003c15e390404e3ad089b9bedea36a1225a51e2c04435a46ed2","lane":"docs","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":8,"stamp":"a007c26ba4c716eef07811da1b3eca6e","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"fc0cac982b25ecf757e95ada1111861231d5ab05a4d98ec4d2c8876fbd02c0ee","lane":"dylint","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":350,"stamp":"296a98d9d278ba569aef6f6146fd0f30","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
Ci-Attestation: {"at":1793015991,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"0f6859c3bb9fba86a8f5b657c7ec53824680e1eb4b544427ce79d4c96dfc67c8","lane":"tests","parents":["9461f0d70294d55412fe291ab1548c566198bd78","bbe1b37b18e2f892cb1f5ceaa8e000c6527ff2cb"],"secs":616,"stamp":"92b94862614b324385f0952b4f80d5a0","tree":"8f63bd51324b046eefeef8e6abf3f68d7ee84991","v":1,"via":"run"}
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