Skip to content

fix(roadmap): Keep the fix-checks Job queue bounded and safe - #6027

Merged
dan-petty merged 3 commits into
mainfrom
fix/6018-fix-checks-queue-bounded
Nov 16, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/6018-fix-checks-queue-bounded

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The fix-checks queue now stays bounded. In mode on, the watch row keeps the attempt, the outcome and the next allowed time of each unit in the item record fix_checks.units, so the 24-hour TTL of a Job does not reset the cap. A pull request has at most one fix Job that runs or waits. A waiting fix Job holds a model place only while its repository is in service.repos, and the watch row deletes it after roadmap.fix_checks.max_wait_minutes (default 360); the delete policy admits that delete. A Kubernetes or configuration error stops only the fix-checks round, which counts round_error. A Job that its deadline ended gets the outcome deadline and no next attempt. The ready path of the watch row skips a check that fails between the two reads. The fix-checks panel draws 3 classes and Other.

Closes #6018

Change: openspec/changes/archive/2026-11-16-6018-fix-checks-queue-bounded/

Keep the attempt, the outcome and the next allowed time of each fix
unit in the item record, allow one live fix Job for each pull request,
limit the wait of a suspended fix Job, catch Kubernetes errors of the
round, give a deadline its own outcome, run only the ready path from the
watch row, and draw the panel as 3 classes and Other.

Refs #6018
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 16, 2026
@dan-petty
dan-petty force-pushed the fix/6018-fix-checks-queue-bounded branch from 78a25c3 to f338078 Compare November 16, 2026 20:18
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 20:26
@dan-petty
dan-petty merged commit 31617f0 into main Nov 16, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/6018-fix-checks-queue-bounded branch November 16, 2026 20:27
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.169.0](v0.168.0...v0.169.0)
(2026-11-16)


### Features

* **deps:** Merge each Renovate security fix after its checks
([#6036](#6036))
([c750132](c750132))


### Bug Fixes

* **deps:** Make the four failed Renovate updates work
([#6040](#6040))
([4c1ace5](4c1ace5))
* **roadmap:** Keep the fix-checks Job queue bounded and safe
([#6027](#6027))
([31617f0](31617f0))
* **roadmap:** Make the review step safe before its on mode
([#6035](#6035))
([5972ad8](5972ad8)),
closes [#6024](#6024)

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): Keep the fix-checks Job queue bounded and safe

1 participant