Repository navigation
fix(roadmap): keep the last valid plan on a schema error - #6484
Merged
Merged
Conversation
devops-cli-service
Bot
force-pushed
the
fix/6357-keep-the-last-valid-stage-plan
branch
2 times, most recently
from
November 20, 2026 01:32
fe1b34d to
22ade22
Compare
devops-cli-service
Bot
force-pushed
the
fix/6357-keep-the-last-valid-stage-plan
branch
from
November 20, 2026 01:42
22ade22 to
48678c0
Compare
Contributor
Author
|
The steps of the job:
|
Contributor
Author
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44655576431/job/136020836478 Skipped check: Plan Check |
…e last valid plan (#6357)
…he cluster document (#6357)
A reply to a gate return that breaks the reply schema goes back with the refused plan, its problem and the violations, as one more gate return. The repair round uses the same method, and its return keeps the findings of the review in the problem. A reply is compared only with a reply that the checks refused in the same call.
dan-petty
force-pushed
the
fix/6357-keep-the-last-valid-stage-plan
branch
from
November 20, 2026 16:43
48678c0 to
7ed6396
Compare
2 of 8 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 stage reply to a gate return or to a repair round that broke the reply schema ended the item with the class
parser, and the earlier valid plan was lost. From 2026-11-18 to 2026-11-20, 15 of 21 parser failures had such a plan: 9 after a gate return, 6 after a review round.The new method
_ask_returnasks each reply that has an earlier plan, in_returnedand in_repaired. When that reply breaks the schema, the planner gets the earlier plan again, with the problem of the request and the violations (stage_schema_return). The return counts againstroadmap.stage.gate_returns, so the bound of planner calls stays. A schema failure after the last return ends the item asparser. A first reply has no earlier plan and keeps its one output retry._returnedcompares the findings of a reply only with a reply that the checks refused in the same call.Closes #6357
Change:
openspec/changes/archive/2026-11-20-6357-keep-the-last-valid-stage-plan/