Skip to content

fix(roadmap): name the reason of a failed stage model call - #4339

Merged
dan-petty merged 2 commits into
mainfrom
fix/4338-a-stage-item-that-fails-with-aiclienterror
Nov 10, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4338-a-stage-item-that-fails-with-aiclienterror

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A stage item that failed with AIClientError showed no reason in the report or the log (#3599 (AIClientError)). Now the failure reason holds the error code with the HTTP status or the timeout, then the message of the error. body_error_text hides each quoted part of the message, because a provider can echo text of the model. The Service logs one warning line stage model call failed with the item, the class and the reason. The reason of a schema failure is unchanged.

Closes #4338

Change: openspec/changes/archive/2026-11-10-4338-a-stage-item-that-fails-with/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 10, 2026 05:24
@dan-petty
dan-petty force-pushed the fix/4338-a-stage-item-that-fails-with-aiclienterror branch from 61f1890 to af9d798 Compare November 10, 2026 06:12
@dan-petty
dan-petty enabled auto-merge (squash) November 10, 2026 06:20
@dan-petty
dan-petty force-pushed the fix/4338-a-stage-item-that-fails-with-aiclienterror branch from af9d798 to 140f32b Compare November 10, 2026 06:26
@dan-petty
dan-petty merged commit 1ec8d4c into main Nov 10, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/4338-a-stage-item-that-fails-with-aiclienterror branch November 10, 2026 06:38
dan-petty pushed a commit that referenced this pull request Nov 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.107.0](v0.106.1...v0.107.0)
(2026-11-10)


### Features

* **roadmap:** a Jev screen before the verify step
([#4343](#4343))
([c60efed](c60efed))


### Bug Fixes

* **roadmap:** end a cut tool answer at a whole line with a notice
([#4342](#4342))
([469906d](469906d))
* **roadmap:** name the reason of a failed stage model call
([#4339](#4339))
([1ec8d4c](1ec8d4c))

---
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a stage item that fails with AIClientError shows no reason

2 participants