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
V2 TUI: retry notice renders raw HTML from provider 503 #35640
The V2 TUI retry notice prints an upstream nginx HTML error page verbatim when Little Frank returns HTTP 503. The raw response consumes several lines and exposes transport-level markup instead of a concise provider-unavailable message.
Environment
OpenCode version: V2 development build; exact build unavailable from the report
OS: macOS (from reporter context)
Terminal: tmux; underlying terminal unavailable
Shell: Unavailable
Install/channel: opencode2 development channel
Active plugins: Unavailable
Model: Little Frank (anomaly / OpenAI), medium variant
Reproduction
Use Little Frank in the V2 TUI.
Have the provider return an nginx 503 Service Temporarily Unavailable HTML response.
Wait for the session retry UI to render the scheduled retry.
Expected Behavior
Show a bounded, human-readable retry notice, for example: Retry attempt 3 scheduled: provider temporarily unavailable (HTTP 503).
The raw HTML response may remain available in logs or expandable diagnostics, but should not be printed inline by default.
Actual Behavior
The retry notice includes the complete HTML document:
Retry attempt 3 scheduled: Provider request failed with HTTP 503: <html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body>
<center><h1>503 Service Temporarily Unavailable</h1></center>
<hr><center>nginx</center>
</body>
</html>
[provider.internal]
Audit update (2026-07-08): #35675 is open against dev and sanitizes HTML retry bodies in V1. This V2 issue still needs the equivalent behavior on v2 (or an explicit port/cherry-pick plan), so it remains open.
Opened #54240 to bound HTML provider error bodies in the V2 LLM executor (packages/llm/src/route/executor.ts), mirroring the V1 retry sanitization from #35675. Happy to take this on if you'd like to assign it.
Activity
opencode-agent commentedon Jul 8, 2026
Audit update (2026-07-08): #35675 is open against
devand sanitizes HTML retry bodies in V1. This V2 issue still needs the equivalent behavior onv2(or an explicit port/cherry-pick plan), so it remains open.fix(llm): stop dumping HTML gateway bodies into provider errors
fix: address 5 more community-reported issues
4sDriven commentedon Oct 10, 2026
Opened #54240 to bound HTML provider error bodies in the V2 LLM executor (
packages/llm/src/route/executor.ts), mirroring the V1 retry sanitization from #35675. Happy to take this on if you'd like to assign it.