fix(runtime): preserve provider diagnostics on failed turns - #4528
Open
testikun wants to merge 2 commits into
Open
fix(runtime): preserve provider diagnostics on failed turns#4528testikun wants to merge 2 commits into
testikun wants to merge 2 commits into
Conversation
testikun
force-pushed
the
codex/issue-4502-provider-diagnostics
branch
3 times, most recently
from
September 3, 2026 02:03
fe3da59 to
cf715c4
Compare
added 2 commits
September 3, 2026 11:41
testikun
force-pushed
the
codex/issue-4502-provider-diagnostics
branch
from
September 3, 2026 03:41
cf715c4 to
f1a15fd
Compare
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.
Summary
Preserve the bounded, redacted provider response summary for every classified provider failure while keeping the existing error category as the primary presentation. The summary now flows through RuntimeEvent, durable Turn, Runtime Host projections, and Desktop, where it appears collapsed and expandable beneath failed-turn banners for live and reloaded turns. Retry policy and unrelated error semantics remain unchanged.
Fixes #4502
Verification
apache/main(epoch 99 → 100).apache/main.<details>below the classified banner and reload materialization coverage.Existing secret redaction and byte bounds are preserved at the provider, durable Turn, Host, and event boundaries.
AI use
Tool(s) and scope: Codex authored the implementation and regression tests.
Checklist
Does this PR entail a change in behavior?