feat(container-runner): drain engine sleeps unless the idle timer fired - #5594
Conversation
|
Stack for rivet-dev/actors
Get stack: change ktlrlsuw |
ReviewSmall, focused change to Correctness
Test coverage
Style
Overall this is a solid, minimal bug fix. No blocking issues found; the residual race and missing test coverage are the two things worth a second look before merging. |
c320933 to
ddf4aad
Compare
c95961f to
6a5be12
Compare
6a5be12 to
d60b376
Compare
ddf4aad to
31123f0
Compare
ReviewSmall, well-scoped fix to Code quality
Potential edge case worth a look
This is a narrower window than the previous behavior, which had this problem for the entire idle-configured lifetime rather than just this brief race, so the PR is a strict improvement. But the race is not fully closed. Worth confirming whether this is an accepted trade-off (the window is just the envoy round trip for the sleep request) or whether Minor / nit
Test coverageNo tests exercise SecurityNo concerns; this is actor-local lifecycle logic operating on already-trusted engine-originated sleep signals. Overall: solid, well-documented fix for a real bug (forced/engine sleeps skipping drain). The residual race on the self-initiated idle path is worth a conscious decision (accept vs. close), but not a blocker. |
No description provided.