Repository navigation
fix(roadmap): loosen the caps that turn a stage refusal into a loss - #4869
Conversation
A refused stage reply now goes back to the planner up to roadmap.stage.gate_returns times (default 3, was 1). A refused plan (plan_defect) waits 1 hour, not 6. A row is suspended after service.max_failed_rounds failed rounds in a row (default 6, was 3). The owner can tune the two settings live in the ConfigMap. Refs #4802
Evidence for the valuesMeasured on 2026-11-11 from the Service logs and metrics and from the refused-reply files (repository dan-petty/devops-cli, 7 days):
Stage success in the same 7 days: about 20% (39 staged comments against about 156 failed item attempts). Worst case of one item: 3 to 5 planner calls without a verifier, 7 to 13 with one. A return sends the refused reply and its problem, so it costs less than a new attempt from the first ask. Checks
fail-to-pass
|
Live steps for the owner session (after the merge and the image roll)No ConfigMap change is necessary: the new settings take their defaults (3 returns, 6 rounds) when the ConfigMap does not name them.
|
ad0e19f to
07d9b0f
Compare
|
CI shard 1 found one more test that pinned one return: |
🤖 I have created a release *beep* *boop* --- ## [0.115.0](v0.114.1...v0.115.0) (2026-11-12) ### Features * **design:** add the design tokens and their build ([#4811](#4811)) ([db4b19a](db4b19a)) * **roadmap:** find symbol definitions with tree-sitter ([#4820](#4820)) ([3b3fddc](3b3fddc)) ### Bug Fixes * **ai:** the gateway group that answered decides the local label ([#4907](#4907)) ([0da637f](0da637f)) * **ci:** replay a changed gate check in fail-to-pass ([#4898](#4898)) ([59bfc57](59bfc57)) * **config:** read each config file as YAML 1.2 ([#4858](#4858)) ([c3130a3](c3130a3)) * **roadmap:** loosen the caps that turn a stage refusal into a loss ([#4869](#4869)) ([4492fc3](4492fc3)) * **roadmap:** refine reads a dependency named by title ([#4877](#4877)) ([2829f9c](2829f9c)) * **roadmap:** refine sends a judge refusal to an agent round ([#4874](#4874)) ([e4fc6a9](e4fc6a9)) * **tests:** refuse test writes under the real home ([#4857](#4857)) ([0f6ac1b](0f6ac1b)) * **tests:** the plain-Python helper test keeps PYTHONPATH ([#4914](#4914)) ([99c109d](99c109d)) ### Performance Improvements * **ci:** direct pytest runs wait for a gate slot ([#4901](#4901)) ([e80db62](e80db62)) * **roadmap:** status lane reads the snapshot, skips idle stops ([#4887](#4887)) ([f285cf8](f285cf8)) --- 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>
Review finding after the mergeThe review of this pull request ran after the merge (2026-11-12, 00:44 UTC). A push to
Evidence:
Release PR #4875 holds this pull request. #4925 must merge before it for the ceiling to ship in the same release as the setting. A value above 3 now needs a code change; #4851 can raise the ceiling when it adds the progress check. |
…rain (#4925) `roadmap.stage.gate_returns` gets the hard ceiling 3 (`CONST_ROADMAP_STAGE_GATE_RETURNS_CEILING`): the settings load refuses a higher value. Each return is one more plan run, so an item makes at most 13 plan runs with a review. After the Service stops, the stage job starts no return of a refused reply. A return sends model requests, and the cut at the end of the 600 s drain stops only GitHub requests, so a return in the drain could run past the grace of the pod. The round now ends with the stop and records no failure for the item. The default of 3 does not change, and the live ConfigMap does not set the setting. This fixes a review finding of #4869. Closes #4900 Change: `openspec/changes/archive/2026-11-12-4900-bound-the-stage-gate-returns-and/`
Three strict caps turned each refusal of the stage job into a loss: one return of a refused reply, a 6 hour wait for a refused plan, and a row stop after 3 failed rounds. The owner allowed the loosening of the roadmap caps as the first step toward 80% success of each job.
roadmap.stage.gate_returns(default 3, was 1) sets the returns of a reply that the stage checks refuse.RETRY_AFTERgivesplan_defect1 hour, not 6.service.max_failed_rounds(default 6, was 3) sets the failed rounds before a row is suspended.Each planner call keeps its own limits. The item wait stays longer than the stage interval, and the row retry time stays shorter than the
forof the suspension alert.Closes #4802
Change:
openspec/changes/archive/2026-11-11-4802-loosen-the-caps-that-turn-a/