Repository navigation
feat(roadmap): extend stage gate returns while the plan improves - #5389
Merged
Merged
Conversation
Owner
Author
|
Checks and evidence (review of the branch before the push). Tests
Render diff
Release
Review fixes (commit 2 of 3)
Scope
|
dan-petty
marked this pull request as ready for review
November 13, 2026 08:49
Contributor
|
Pull request #5389 has merge conflicts with |
dan-petty
added a commit
that referenced
this pull request
Nov 13, 2026
PR #5387 and PR #5401 merged two minutes apart, and each added `GitHubClient.get_compare_diff` to `src/devops_cli/github/client.py` with the same body. Git merged both with no conflict, so `main` defines the method twice: ruff F811 and mypy `no-redef` fail, the Static Analysis check of `main` fails, and the pre-push hook refuses every branch that holds this `main` (#5389 and #5400 wait for this fix). This change keeps one method and names both callers (#5346, #5388) in its docstring. The body does not change, so no behavior changes. Closes #5404 Change: `openspec/changes/archive/2026-11-13-5404-main-defines-get-compare-diff-twice/`
A reply that the stage checks refuse at the last return of roadmap.stage.gate_returns gets one more return when no finding of the reply before it stays and no finding has the fix class never. The rule gate_extension makes no model call. An item gets one extra return at most, so a reply gets at most gate_returns + 2 planner requests. Each decision logs a stage gate extension line and counts devops_cli_roadmap_stage_gate_extension_total. Each extra return logs an end line and counts devops_cli_roadmap_stage_gate_extension_ends_total. The failure text names the return and the stop. The decision model part waits for #4847 and #5272 (#5386).
…text The extra return of #4851 gives a reply up to roadmap.stage.gate_returns + 2 replies. Three stage specs still said that a validation failure, a title problem and a refused revision return gate_returns times at most, and the description of devops_cli_roadmap_stage_gate_problems still said 4 series. The spec delta now modifies the three requirements, the metric text says 5 series, and the series test counts the extra return. A test now proves the extra plan run in the dry run of the stage eval. The plan-defect test reads the new failure text, so its check that the comment holds no failure text is not empty.
dan-petty
force-pushed
the
feat/4851-extend-stage-gate-returns
branch
from
November 13, 2026 12:05
dea6a2d to
7725d0f
Compare
2 tasks done
dan-petty
pushed a commit
that referenced
this pull request
Nov 13, 2026
🤖 I have created a release *beep* *boop* --- ## [0.128.0](v0.127.1...v0.128.0) (2026-11-13) ### Features * **roadmap:** extend stage gate returns while the plan improves ([#5389](#5389)) ([6d3f954](6d3f954)) ### Bug Fixes * **roadmap:** fix-plan keeps the citations that the run of the head read ([#5400](#5400)) ([7f4054f](7f4054f)), closes [#5391](#5391) --- 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>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A reply that the stage checks refuse at the last return of
roadmap.stage.gate_returnsgets one extra return when the last return made progress. The rulegate_extensionreads the findings of the last two refused replies: no finding of the reply before stays, and no finding has the fix classnever. The rule makes no model call. An item gets one extra return at most, so a reply gets at mostgate_returns+ 2 planner requests.Each decision logs a
stage gate extension:line and countsdevops_cli_roadmap_stage_gate_extension_total. Each extra return logs its end and countsdevops_cli_roadmap_stage_gate_extension_ends_total. The failure text names the stop.Why: item #5136 stopped at its third return while its findings fell from 3 to 1, and the last return removed that finding. The decision model and the refusal at once on a
neverfinding wait for #4847 and #5272. Refs #5386.Closes #4851
Change:
openspec/changes/archive/2026-11-13-4851-extend-stage-gate-returns/