Repository navigation
feat(roadmap): make the attempt limits of the failing jobs settings - #5490
Conversation
The owner asked on 2026-11-13 to double each limit of the roadmap jobs below 80 % success and to try values until one works. Many limits that end an attempt were constants, so each try needed a release, and the ceiling of roadmap.stage.gate_returns (3) refused a doubled value. Each listed limit is now a setting of its job section, with the old constant as its default, read when the round, the step or the selection starts: - roadmap.stage: gate_return_extensions, verify_repair_rounds_ceiling, plan_defect_limit, max_requests, max_tool_calls, plan_calls_advised, plan_calls_notice, review_calls_advised, review_calls_notice - roadmap.implement: max_requests, max_tool_calls, tool_retries, max_refusals, max_consecutive_refusals, model_resends, extension_calls, extension_max_refused - roadmap.fix_plan: head_attempts, revisions The settings load refuses a value above 4 times the default (CONST_ROADMAP_LIMIT_CEILING_FACTOR) with the setting name, and an inner limit above its outer limit with both names. The Job deadline keeps its cap of 14400 s, which the admission policy sets. The file tools of the harness take tool_retries in place of the 5 of Coder. The stage prompts get the call budget from the settings. Closes #5440
The description of roadmap.implement.step_token_ceiling gave the window and the refused commands of the rule implement.extension as 20 and 3. These are now the settings extension_calls and extension_max_refused, so the text names them.
The test of the declared variables lists each setting that came after the declaration moved onto the fields. The 19 settings of #5440 were not in the list, so the test failed.
Test results and review notesRender diff. None. The branch changes no path under Checks. The branch is rebased on
Fixes in review:
Scope decisions of the builder, kept:
Steps after the release (a person or an agent, not this pull request):
Known outer limits that no settings check sees (also in a comment on #5440): the live |
🤖 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>
The stage, implement and fix-plan jobs kept the limits that end an attempt as constants. So a person could not change them without a release, and the ceiling 3 of
roadmap.stage.gate_returnsstopped a doubled value. Now each limit is a setting of its job section, with the old constant as its default, so no configuration gives the same behavior. A job reads the settings at each round, step or selection, so a changed ConfigMap needs no restart.The settings load refuses a value above 4 times the default and names the setting. It also refuses an inner limit above its outer limit and names both settings. The Job deadline keeps its cap of 14400 s from the admission policy. The plan and review prompts get their call budget from the settings, and the file tools of the harness take
roadmap.implement.tool_retries.The Service and the runner image read the new settings, so a release is needed.
Closes #5440
Change:
openspec/changes/archive/2026-11-13-5440-job-limit-settings/