Skip to content

🤖 fix: soften delayed-start retry banner#2839

Merged
ammario merged 1 commit into
mainfrom
fix/delayed-start-retry-banner
Mar 7, 2026
Merged

🤖 fix: soften delayed-start retry banner#2839
ammario merged 1 commit into
mainfrom
fix/delayed-start-retry-banner

Conversation

@ammar-agent
Copy link
Copy Markdown
Collaborator

@ammar-agent ammar-agent commented Mar 7, 2026

Summary

Avoid showing the RetryBarrier's "Stream interrupted" copy while the first response is still waiting for stream-start.

Background

In SSH workspaces with long init hooks, the first send can stay in pre-stream startup for a while before the backend emits stream-start. During that window the frontend still mounted RetryBarrier, which made the warning copy misleading even though the response would eventually begin.

Implementation

  • detect the delayed-start case when the last actionable row is still the trailing user message and the workspace remains in isStreamStarting
  • render "Response startup is taking longer than expected" for that state instead of claiming the stream was interrupted
  • add a RetryBarrier regression test that covers the delayed-start copy path

Validation

  • make static-check

Risks

Low. This only changes RetryBarrier copy for the pre-stream startup state; retry behavior and the actual interruption paths are unchanged.


Generated with mux • Model: openai:gpt-5.4 • Thinking: xhigh • Cost: $2.42

Avoid claiming the stream was interrupted while the first response is still stuck in pre-stream startup. Long SSH init hooks can legitimately delay stream-start even when the response will eventually begin, so the RetryBarrier now uses delayed-start copy for that state and includes a regression test.

---

_Generated with `mux` • Model: `openai:gpt-5.4` • Thinking: `xhigh` • Cost: `$2.42`_

<!-- mux-attribution: model=openai:gpt-5.4 thinking=xhigh costs=2.42 -->
@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@ammario ammario merged commit e5d1c57 into main Mar 7, 2026
23 checks passed
@ammario ammario deleted the fix/delayed-start-retry-banner branch March 7, 2026 17:52
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.

2 participants