fix(rivetkit): keep actors awake until keepAwake work finishes#4937
fix(rivetkit): keep actors awake until keepAwake work finishes#4937NathanFlurry merged 1 commit intomainfrom
Conversation
Review: fix(rivetkit): keep actors awake until keepAwake work finishesOverviewThis PR fixes a real race condition where actors could have their JS-side sleep cleanup (database close, context disposal) run while
The approach is sound and well-targeted. A few specific issues worth addressing. IssuesBug: deferred cleanup can execute against a live actorThe deferred cleanup path in
The fields Unhandled error from deferred cleanup
WASM deprecation warning via
|
Preview packages published to npmInstall with: npm install rivetkit@pr-4937All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-f0c1a00
docker pull rivetdev/engine:full-f0c1a00Individual packagesnpm install rivetkit@pr-4937
npm install @rivetkit/react@pr-4937
npm install @rivetkit/rivetkit-napi@pr-4937
npm install @rivetkit/workflow-engine@pr-4937 |
e887f7e to
d3d9f0e
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: