Skip to content

Recover original chat result after unreadable gateway errors - #621

Merged
witbrock merged 1 commit into
mainfrom
codex/JVNAUTOSCI-2740-gateway-recovery
Sep 11, 2026
Merged

witbrock merged 1 commit into
mainfrom
codex/JVNAUTOSCI-2740-gateway-recovery

Conversation

@witbrock

Copy link
Copy Markdown
Member

An interrupted Cloudflare connection returned a non-JSON server error while Von continued the original turn. The chat UI incorrectly displayed a terminal failure, although reloading later recovered the completed response.

Unreadable HTTP 5xx responses now use the existing actor-scoped task-result observer, just like a lost response connection. The browser submits the prompt once and displays the original task's eventual success or failure once. JSON application errors and non-server denials retain their current handling.

Validation: 48 tests pass across chatTabAbort and chatTaskQueue, including simulated 502/503/504/524 responses, canonical task failure after a 502, and non-recovery controls. Static frontend lint and diff checks pass. This repairs response recovery; it does not establish or fix the underlying QUIC network timeout. Tracked in JVNAUTOSCI-2740.

@witbrock
witbrock merged commit a0258fa into main Sep 11, 2026
2 checks passed
@witbrock
witbrock deleted the codex/JVNAUTOSCI-2740-gateway-recovery branch September 11, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant