Repository navigation
fix(roadmap): name the repo and cause in refine warnings - #2784
Merged
Merged
Conversation
This reverts commit 6068d7ecebe84641374dea15dfc04c35f979e7b4.
The reason of an AIClientError now says timeout for a timed out call or for HTTP 408 and 504. The Claude, Ollama and stream paths set the status and the timeout as the gateway path does.
One helper masks and cuts the message of a stopped run for refine and for the implement step. The warning keeps the fixed description of the message and drops quoted parts, text after a colon, a semicolon or an equals sign, and control characters. The implement step reads the message, not the body of the error. The two refine warnings move to lang/en.
Owner
Author
|
Test results
Review findings fixed
Findings not fixed: none. Open points
|
dan-petty
marked this pull request as ready for review
October 30, 2026 14:43
…ng-reasons # Conflicts: # src/devops_cli/config/constants.py # src/devops_cli/roadmap/implement_step.py # tests/test_roadmap_implement_step.py
…ng-reasons # Conflicts: # src/devops_cli/lang/en/messages.py # src/devops_cli/roadmap/implement_step.py
… into fix/2562-refine-warning-reasons
dan-petty
pushed a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.5](v0.22.4...v0.22.5) (2026-10-30) ### Bug Fixes * **roadmap:** keep the diff of a step when a model call fails ([#2781](#2781)) ([c6a837d](c6a837d)), closes [#2731](#2731) * **roadmap:** name the repo and cause in refine warnings ([#2784](#2784)) ([85b3a67](85b3a67)), closes [#2562](#2562) --- 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 refine warning for a failed item now names the repository and the cause. Before, the Service logged only the class of the error, and issue numbers repeat across its 7 repositories.
AIClientErrorcarriesstatusandtimed_out. The gateway, Claude and Ollama paths, the stream reads and the pydantic-ai run set them. Itsreasonis the error code, thentimeoutfor a timed out call or HTTP 408 and 504, then the HTTP status. It holds no text of the model.:,;or=, and control characters, because pydantic-ai writes data of the model's reply there.bounded_text, masks and cuts the message of a stopped run for refine and for the implement step. The implement step now readsmessage, notstr(), which closed the leak of the error body (fix(roadmap): keep the body of UnexpectedModelBehavior out of the stop reason of an implement step #2778).class: messagetext move tolang/en.Closes #2562