You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Terminal Codex stream disconnects are misclassified as generic provider errors #1840
bugSomething isn't workingconfirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexprovidersCross-provider bridges, models, login
Codex can report responseStreamDisconnected while retrying, then downgrade the terminal event for the same failure to codexErrorInfo: "other". bb trusts the degraded value, loses the structured disconnect category, and renders the final timeline row as a generic Provider error.
Reproduced on main at e1ec66e8c when the PR was opened
Provider: Codex
Deterministic event replay; no intentional network outage required
Steps to reproduce
Translate a retryable Codex error event whose structured error is responseStreamDisconnected.
Translate the terminal event for the same turn and failure text with willRetry: false and codexErrorInfo: "other".
Inspect the final provider/error.errorInfo.
pnpm exec turbo run test --filter=bb-plugin-provider-codex -- --run src/translator.test.ts -t "carries the structured retry classification into a degraded terminal error"
The implementation correlates retry and terminal failure state in event-translation.ts.
Positive and unrelated-terminal negative regressions are included in PR #1563.
What you ruled out
Not a retry-semantics change: only terminal classification changes.
Not an unrelated generic error: correlation requires the same recorded failure.
No exact open or closed issue matched responseStreamDisconnected, codexErrorInfo, the PR URL, or the originating thread.
Suggested priority and effort
Medium priority, low-to-medium effort: users receive the wrong terminal diagnosis and recovery affordance; the implementation must not relabel unrelated failures.
bugSomething isn't workingconfirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexprovidersCross-provider bridges, models, login
Activity
Keep Codex stream-disconnect classification on the terminal error (ge…