Repository navigation
fix(ai): a failed model transport names its phase and its error - #4460
Merged
Merged
Conversation
model_call_error adds, for a ModelConnectionError or a ModelTimeoutError, the transport phase from pydantic-ai and the class and the masked text of the first error of the cause chain. The stored report of a failed eval case then tells a refused connection, a failed name lookup and a dropped stream apart. The change adds no retry.
Owner
Author
|
Fail-to-pass: Other local runs on the fix commit: the tests of every caller of |
1 of 2 tasks
dan-petty
marked this pull request as ready for review
November 11, 2026 03:09
dan-petty
enabled auto-merge (squash)
November 11, 2026 03:09
dan-petty
pushed a commit
that referenced
this pull request
Nov 11, 2026
🤖 I have created a release *beep* *boop* --- ## [0.111.0](v0.110.0...v0.111.0) (2026-11-11) ### Features * **roadmap:** a decision-point registry with a resolver chain ([#4453](#4453)) ([b73e97a](b73e97a)) * **roadmap:** eval verify stores each case and resumes ([#4451](#4451)) ([7c59565](7c59565)) * **roadmap:** extend a step budget when the run makes progress ([#4464](#4464)) ([c8ed108](c8ed108)) ### Bug Fixes * **ai:** a failed model transport names its phase and its error ([#4460](#4460)) ([54743c4](54743c4)) * **ai:** price the DeepSeek group and its cached input ([#4454](#4454)) ([3b1f6bd](3b1f6bd)) * **roadmap:** stage and refine send no answer count or row ([#4484](#4484)) ([d9c8ee8](d9c8ee8)) * **roadmap:** tool docstrings garble the answer format ([#4486](#4486)) ([2f6114f](2f6114f)) ### Performance Improvements * **roadmap:** parse only the bodies that hold a job record ([#4455](#4455)) ([c653bde](c653bde)) * **tests:** evaluate hour-scale promtool tests every hour ([#4462](#4462)) ([0ac2f76](0ac2f76)) --- 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.
On 2026-11-10, 6 of 48 cases of
devops roadmap eval verifyfailed withThe investigation's model call failed (ModelConnectionError).The message named only the class, so the stored reports could not show the cause. The gateway andcloudflaredlogged no error at the six times, and no stream through the tunnel was canceled. The roadmap Service, which calls the gateway inside the cluster, logged noModelConnectionErrorin 7 days. The failure is on the path between the client host and the edge of the tunnel, outside the project (proposal, Feasibility).model_call_errornow adds, for aModelConnectionErroror aModelTimeoutError, the transport phase that pydantic-ai gives and the class and the masked text of the first error of the cause chain. The next failure then names a refused connection, a failed name lookup or a dropped stream. The change adds no retry.Closes #4345
Change:
openspec/changes/archive/2026-11-11-4345-model-call-names-transport-cause/