fix(envoy-client): ack terminating stop commands so pegboard-envoy stops replaying them - #5565
Conversation
|
Stack for rivet-dev/actors Get stack: change zrklppqy |
|
🚅 Deployed to the actors-pr-5565 environment in rivet-frontend
|
47237dc to
de4dd5a
Compare
ReviewClean, well-motivated fix. Sourcing acks from A few things worth a look: 1. The immediate ack sweeps the entire 2. 3. Minor comment accuracy nit. 4. Test coverage suggestion. Nothing blocking, the core fix is sound and matches the stated goal (stop pegboard-envoy from replaying acked-but-forgotten stops). Points 1 and 2 are the ones I'd want a second opinion on before merging. |
ReviewTraced the full fix against the pre-PR version of Root cause confirmed:
Correctness walk-through:
Test coverage: the four new tests cover the essential scenarios well: immediate ack, failed-send retry recovered via replay, stop-for-unknown-actor (never tracked/already gone), and periodic re-ack of a still-live actor. One gap: no test exercises a batch with multiple stopped actors at once (verifying the Style/conventions: tabs, comment style (full sentences, no em dashes), import placement, and error handling all match Overall: a well-reasoned, correctly-scoped fix with good self-documentation of the remaining known race (extends the existing TODO). No blocking issues found. |
de4dd5a to
7b756e9
Compare
7b756e9 to
cfd6841
Compare
…ops replaying them
cfd6841 to
01dbe63
Compare
No description provided.