Repository navigation
Commit 75a33ff
docs(proxy): say what the stdio drain guarantees in each of its three endings
Review follow-up on #859. The comment on trackStdioActivity said a counted
chunk's lines have been forwarded; that holds for complete lines only (a
trailing fragment waits in the line buffer for the pipe to close, #860).
The drain's doc stated the output-before-exit order as a guarantee; it is
one when the wait ends on the close, a measured expectation when it ends
on silence, and neither at the backstop.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent cb1c9b1 commit 75a33ff
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2436 | 2436 | | |
2437 | 2437 | | |
2438 | 2438 | | |
2439 | | - | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
2440 | 2443 | | |
2441 | 2444 | | |
2442 | 2445 | | |
| |||
2453 | 2456 | | |
2454 | 2457 | | |
2455 | 2458 | | |
2456 | | - | |
2457 | | - | |
2458 | | - | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
2459 | 2465 | | |
2460 | 2466 | | |
2461 | 2467 | | |
| |||
0 commit comments