Commit 0e65004
committed
docs: state the at-least-once cost of the drain
A second Greptile pass flagged that a drained sibling's effect row
stays pending and later redelivers, a duplicate outbound request. The
duplicate is the documented at-least-once design: completing the
sibling would take over another worker's claim, skipping it would
break ordering, and the JS runtime behaves the same, so the docs now
state the trade explicitly instead of leaving it implied. The
concurrency race test already pins the behavior: order holds,
replays apply nothing, and every effect completes.1 parent 0b8ae6d commit 0e65004
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
| |||
0 commit comments