Skip to content

fix(roadmap): bound the stage gate returns and start no return in a drain - #4925

Merged
dan-petty merged 2 commits into
mainfrom
fix/4900-bound-stage-gate-returns
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4900-bound-stage-gate-returns

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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/

…rain

`roadmap.stage.gate_returns` gets the hard ceiling 3
(`CONST_ROADMAP_STAGE_GATE_RETURNS_CEILING`), and the stage job starts
no return of a refused reply after the Service stops.

Refs #4900
@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 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Fail-to-pass

uv run devops ci fail-to-pass --base origin/main (base 3b3fddc, before the rebase): 3 failed on base, 28 passed.

  • test_a_gate_returns_value_over_the_ceiling_fails_the_settings_load: DID NOT RAISE ValidationError.
  • test_a_refused_reply_gets_no_return_once_the_service_stops: DID NOT RAISE ServiceStoppingError.
  • test_every_numeric_limit_of_the_roadmap_jobs_has_a_class: the new constant has no limit on base.

On the head, tests/roadmap/stage/test_roadmap_stage_repair_return.py (12 passed), tests/roadmap/test_roadmap_limit_classes.py and tests/security/test_config_declarations.py (31 passed). Ruff passes. mypy finds no error in the changed src files; the errors that it reports are in tests/support and in the _plan helper of the test file, and they are on main too.

@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 04:26
@dan-petty
dan-petty merged commit 77eed38 into main Nov 12, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/4900-bound-stage-gate-returns branch November 12, 2026 04:26
dan-petty pushed a commit that referenced this pull request Nov 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.116.0](v0.115.0...v0.116.0)
(2026-11-12)


### Features

* **gh:** name the gh groups issue, run, label and secret
([#4923](#4923))
([2dd4c97](2dd4c97))


### Bug Fixes

* **ci:** set job timeouts from the measured run times
([#4892](#4892))
([e26dde5](e26dde5))
* **design:** check the design test bound and source hex values
([#4922](#4922))
([e2c1a5a](e2c1a5a))
* **k8s:** check the credential sync context as a kubeconfig name
([#4916](#4916))
([8797c88](8797c88))
* **roadmap:** bound the stage gate returns and start no return in a
drain ([#4925](#4925))
([77eed38](77eed38))
* **roadmap:** count each implement outcome once with its repo
([#4903](#4903))
([c17f71f](c17f71f))
* **roadmap:** refine looks again at a wait that older rules set
([#4919](#4919))
([e6f7cb9](e6f7cb9))


### Performance Improvements

* **k8s:** put the dependencies in their own image layers
([#4872](#4872))
([48dc866](48dc866))

---
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): bound the stage gate returns and start no return in a drain

1 participant