Repository navigation
fix(roadmap): a failed ruff or mypy check gets one repair turn - #2796
Merged
Merged
Conversation
…ty claims (#2795) The text of a failed static check goes to the model. Mask it first, then cut it, as the stop diff does. Two tests pin that the repair turn cannot move HEAD or change the verification commands of tasks.md.
Owner
Author
|
Test results
Review findings
|
dan-petty
marked this pull request as ready for review
October 30, 2026 19:42
dan-petty
pushed a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.7](v0.22.6...v0.22.7) (2026-10-30) ### Bug Fixes * **roadmap:** a failed ruff or mypy check gets one repair turn ([#2796](#2796)) ([77e7f7c](77e7f7c)), closes [#2795](#2795) * **roadmap:** show the 400 body and resend a failed stream once ([#2797](#2797)) ([034aa0e](034aa0e)), closes [#2794](#2794) --- 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>
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 step in a roadmap job stopped when ruff check or mypy --strict failed on the code of the step. The model never saw the error.
Now a step gets one extra turn in the same conversation. The message holds the text of the failure, masked and cut to the reason limit. The turn may change only the files that the step had changed and tasks.md. The step runs every exit check again after the turn. If a check still fails, the step stops. A step gets one extra turn at most. The turn counts against the same request limits.
Closes #2795