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. |
ReviewSolid, well-targeted fix for the stop-command ack gap. The core insight, detecting a stop on the raw batch before dedup so a replayed/skipped stop still re-triggers an ack, correctly closes the hole where a stopped actor's entry disappears from I traced through the single-threaded Minor / non-blocking:
No security or protocol-versioning concerns. This only touches in-memory ack bookkeeping on the trusted engine to envoy-client command channel, does not touch the wire schema, and does not need runner-protocol version bumps. |
…ops replaying them
de4dd5a to
7b756e9
Compare
No description provided.