Commit e5d1c57
authored
🤖 fix: soften delayed-start retry banner (#2839)
## 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`_
<!-- mux-attribution: model=openai:gpt-5.4 thinking=xhigh costs=2.42 -->1 parent db6b776 commit e5d1c57
2 files changed
Lines changed: 33 additions & 1 deletion
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
139 | 159 | | |
140 | 160 | | |
141 | 161 | | |
| |||
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
249 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
250 | 262 | | |
251 | 263 | | |
252 | 264 | | |
| |||
0 commit comments