Commit 93da76b
fix(cli): resolve send -f deadlock when SSE proxy buffers idle sessions
Reorder send.go to push the message before opening the SSE stream.
The api-server SSE proxy blocks until the runner has an active run,
so opening the stream first caused a deadlock.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ccc9ed0 commit 93da76b
1 file changed
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 56 | | |
71 | 57 | | |
72 | 58 | | |
| |||
78 | 64 | | |
79 | 65 | | |
80 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
81 | 76 | | |
82 | 77 | | |
0 commit comments