Repository navigation
fix(roadmap): a named fix-plan run can skip the 6-hour wait - #5459
Conversation
Plans #5413: the option --skip-wait for a named fix-plan run, the release of each attempt in fix_plan.version, one more attempt on a head whose attempts ran on an older release, and the classes evicted and deadline of a killed attempt.
devops roadmap step fix-plan --skip-wait leaves out the 6-hour wait for the one item that --item or --pull names, and needs --confirm. The caps of the head and of the revisions stay. The step records the release of each attempt in fix_plan.version, and a named run with --skip-wait makes one more attempt on a head whose counted attempts ran on an older release, with a warning that says why. The Service never passes skip_wait. A killed attempt now has a class. While the command runs, the first SIGTERM raises AttemptKilled, and the step writes the class in the grace period of the pod. SIGTERM after the time budget is a deadline kill: the attempt counts, the record gets timeout, and the result line holds kill=deadline. SIGTERM before the budget, and a stop of the Service, is an eviction: for 3 evicted attempts on a head, the record keeps the marks of the attempt before it and adds 1 to fix_plan.evicted. The command exits 75 after an eviction and 143 after a deadline kill.
The stage page, the job success page, the row fix_plan of the cluster page and the record keys of the roadmap workflow describe --skip-wait, the extra attempt on a head of an older release, fix_plan.version, fix_plan.evicted and the classes evicted and deadline of a killed attempt (#5413). ADR 0021 gets a dated line for its out-of-date list of record keys.
The kill marks go through set_marks, which reads the issue as it is now and writes the marks on it. The extra read of the item cost one request in the grace period of the pod, and the dry run did not list it.
The spec roadmap-stage/fix-plan gets the requirements of the named retry with skip_wait, the release of each attempt, the end of an attempt at SIGTERM, and the classes deadline and evicted of a killed attempt. The new rules are separate requirements, so each requirement text stays at 500 characters or fewer.
|
Test results and review notes (head Fail-to-pass.
Other checks.
Read-only validation against the real record. A scratch call of k8s render diff. Not applicable: the branch changes no path under Review fix. The kill path read the item before After the release. The Service image and the runner image must hold the change. Then a person runs |
🤖 I have created a release *beep* *boop* --- ## [0.130.0](v0.129.1...v0.130.0) (2026-11-13) ### Features * **k8s:** add RuntimeClass gvisor for the runsc nodes ([#5436](#5436)) ([0d9ffa1](0d9ffa1)) * **roadmap:** make the attempt limits of the failing jobs settings ([#5490](#5490)) ([a13e520](a13e520)), closes [#5440](#5440) ### Bug Fixes * **infra:** a plan shows a skip by a check-mode when as unchecked ([#5442](#5442)) ([499b42c](499b42c)) * **infra:** the apply gate leaves out alerts of offline nodes ([#5478](#5478)) ([3f0d0f0](3f0d0f0)) * **roadmap:** a named fix-plan run can skip the 6-hour wait ([#5459](#5459)) ([94a1999](94a1999)), closes [#5413](#5413) * **roadmap:** a review finding must name a part of the plan ([#5418](#5418)) ([34cdf12](34cdf12)) * **roadmap:** the stage gate log names each refused finding ([#5441](#5441)) ([47b1ec5](47b1ec5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
A person can now start one named fix-plan attempt within the 6-hour wait.
devops roadmap step fix-plan --skip-waitneeds--confirmand one of--itemor--pull. The cap of 2 attempts on a head and the cap of 3 revisions stay. The Service never passes the flag, so its row and its Jobs keep the wait.Each attempt records its release in
fix_plan.version. With--skip-wait, a head with 2 counted attempts from an older release, or with no release, gets one more attempt, and the run logs why. A new release can fix the cause of those attempts, as #5409 did for the head of #5390.A killed attempt now has a class. SIGTERM after the time budget is
deadline: the attempt counts and logsresult=timeoutwithkill=deadline. SIGTERM before the budget, and a stop of the Service, isevicted: the first 3 on a head do not count. The command exits 75 after an eviction and 143 after a deadline kill.Closes #5413
Change:
openspec/changes/archive/2026-11-13-5413-fix-plan-skip-wait/