Skip to content

fix(ci): remove dead AI rebase recovery references after #5499 - #5545

Merged
zackees merged 3 commits into
masterfrom
infra/ai-rebase-workflow-tidy
Nov 24, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/ai-rebase-workflow-tidy

Conversation

@zackees

@zackees zackees commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Remove unreachable completion-event recovery branches left after #5499. Recovery continues through the schedule/manual scan, including the unchanged ci/ai_rebase.py --requeue-ejected --limit 10 backstop.

Fixes #5544. Refs #5499.

Deleted the RUN_ID environment/--run-id branch, privileged-checkout comment, and both workflow_run event guards. Current master had already removed workflow_run from capacity-recovery's job condition; its repository/schedule guard is retained.

Added a dependency-free YAML block-event mapping shape test in ci/: only schedule and workflow_dispatch may trigger the workflow, no workflow_run reference may appear anywhere, the header must document recovery latency, and the scheduled requeue backstop must remain.

Header sentence: “Infrastructure-ejected PRs are re-armed on the schedule (up to 30 minutes later).”

Validation:

  • RED commit 2f7276e: uv run python -m unittest ci/test_ai_rebase_workflow_shape.py ran 4 tests, 2 failed (dead references and missing latency comment).
  • GREEN commit 068058c (stamped from 3e1f2ddf5): uv run python -m unittest discover -s ci -p 'test_ai_rebase_*.py' passed all 61 tests (57 existing + 4 new).
  • uv run --python 3.14 python -m unittest ci/test_workflow_duplicate_keys.py ci/test_workflow_schedule_guard.py ci/test_ci_tests_stdlib_only.py passed all 15 tests. The initial Python 3.11 run could not parse an existing unrelated 3.12+ f-string; the repo requires Python 3.14.
  • git diff --check passed.

No docs/features.md line: this is CI plumbing with no user-visible behavior change. Rust/API/differential/protocol tiers do not apply to this workflow-only cleanup. No workflow added, no trigger restored, no plugin/header/C-test changes.

Future immediate recovery would require a separately reviewed narrowly scoped failure-only design; this PR deliberately leaves scheduled recovery as the backstop.

Client gate: ./push passed complete client-lint (six-target Clippy + Dylint, 508.8 s); client-checks failed, so no complete admission proof is claimed and real hosted checks are required.

Follow-up validation: the initial hosted self-test found an older ci/test_mq_acquire_retry.py shape assertion that required the now-dead RUN_ID/event guard. Commit b4a6046a7 updates it to assert scheduled recovery and the retained backstop while preserving checkout/token/isolation coverage. All 23 capacity recovery tests pass. uv run --no-project ci/local_gate.py --only self-test then passed all 407 ci/test_*.py files locally (exit 0), and the 61 AI rebase tests were rechecked green. Client-checks cannot attest because this host lacks xmllint; the PR continues to require real hosted CI.

Ci-Attestation: {"at":1795474995,"gate":"general/all/client-lint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"ea5ecbb546589a0b8941b359168d9f74","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474996,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"9b380c8c853b6ce348334ff173d498bd","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474996,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"065a5c35db40a2b0fdfd3f832fd0868e","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"9ed3a59cba4d3d7d0ebabc917919b9d3","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474996,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"5961a7e4229dbfe485dd801754b6b9eb","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"c9e2513be7e7817bec7225a130aaa10b","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"2a9f890ea2276aa5923e268a9dc1f5e8","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474996,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"832680d672abd88a8d9c7a91f2cf9e73","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474996,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"e27dbb733de0642ce880218ef92b47bf","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"f581e917129f6b6cb885038d67d13411","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"0087cbc92bc0698bb99b58ffa670bbb5","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"1cc917c1cb8f5454aade25e0da90138e","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
Ci-Attestation: {"at":1795474995,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"d46b88a53eed0080fe35d67041b7324abfec0d7eda0848af978a0ac9d2a8d90a","lane":"client-lint","parents":["2f7276e5223a364afa1daca7bf807950c82e40dd"],"secs":509,"stamp":"de3715bfa0f3e0d69c93b0ecdc20a417","tree":"ccdd56cf67ec63a1551766b7f022ebe5949854c3","v":1,"via":"run"}
@zackees zackees changed the title fix(ci): remove dead AI rebase recovery branches (GREEN) fix(ci): remove dead AI rebase recovery references after #5499 Nov 23, 2026
@zackees

zackees commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Local client-checks failure is environmental: xmllint is not installed (client checks: no proof: [Errno 2] No such file or directory: xmllint). Six-target client-lint passed; all 61 AI rebase tests and 15 workflow-policy tests passed. Complete client admission is not claimed; hosted CI remains required.

Ci-Attestation: {"at":1795475861,"gate":"general/all/client-lint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"e709633cb01471ce6bf8281b59756bf8","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475862,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"0468a5681aea335fb311dd2778d8e4fe","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475862,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"e447ba97bdaf5716ddc11b5fc801fbb3","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"46240239b6dbb30c55f573dcf8b4c8ff","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475862,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"ec90f0b512909f31aa8bba69fbcbd97f","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"8b995aad08e0191e806b3bc4ecf4857b","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"13ba6f0eac9495f3c645ad3c7115dcd8","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475862,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"7d55f489dbe0b3acd07ef0a049a16013","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475862,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"020318f1e57b2995572522e0cebb764c","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"c5bf051e770ddd78295e21fd5f531d5d","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"39c5ac4990d340a8e7f29c70db93bef2","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"e0507412d2076719f7d6a7f8ab7d78dc","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
Ci-Attestation: {"at":1795475861,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"da4fdba1aa9001d4041b6ddf1349ba402febbae1b785b7f2436167bb227a212a","lane":"client-lint","parents":["068058ccc23b6b1f9d025bd3fb4a7f5c48efecf8"],"secs":22,"stamp":"99377d8f77d99a3f28af7150555595b5","tree":"bd6c2efef5780a213000ae1201b514192fc1add3","v":1,"via":"run"}
@zackees
zackees added this pull request to the merge queue Nov 23, 2026
Merged via the queue into master with commit 5e3c592 Nov 24, 2026
42 checks passed
@zackees
zackees deleted the infra/ai-rebase-workflow-tidy branch November 24, 2026 00:47
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.

bug: CI: AI rebase retains dead workflow_run recovery references

1 participant