fix(rivetkit-core): cancel driver alarm before sqlite teardown on destroy - #5530
Conversation
|
Stack for rivet-dev/rivet
Get stack: change qprwzozl |
ReviewSmall, well-scoped fix that moves Correctness Traced the call chain to confirm the core fix is sound:
In the old ordering, Possible new race between the two alarm writes (worth double-checking)
In the old code this could not happen, because Impact is likely low in practice since the actor is being destroyed and its storage should eventually be torn down or reused under a new generation regardless, but it would be good to confirm this stale-value window is actually harmless (for example via the single-writer/generation invariants) rather than relying on it being unobservable. Test coverage gap The existing tests ( Other
|
d84e30f to
b3a2e19
Compare
1a48904 to
858d26f
Compare
858d26f to
84962e8
Compare
b3a2e19 to
3e9dbf4
Compare
No description provided.