fix(rivetkit-core): abort graceful cleanup task when grace deadline elapses#4745
Conversation
Review: fix(rivetkit-core): abort graceful cleanup task when grace deadline elapsesThe change is small and focused — adding a CorrectnessThe ordering in
The Minor naming concern
NAPI callback not fully cancellableWhen the deadline wins the LoggingStructured fields are used correctly throughout. The NitIn the new
"Fires when" reads as though the token fires on its own. Consider rephrasing to "Cancelled when the shutdown grace deadline has elapsed..." to make it clear this is a Overall this is clean and the approach is sound. The NAPI adapter correctly observes the deadline without any busy-waiting. No blocking issues. |
a8c2068 to
7be35f1
Compare
2b7d922 to
04fb3f4
Compare
7be35f1 to
734fc88
Compare
04fb3f4 to
645f8a4
Compare
734fc88 to
efecd06
Compare
645f8a4 to
77297b3
Compare
77297b3 to
ee89168
Compare
Preview packages published to npmInstall with: npm install rivetkit@pr-4745All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-3e0079c
docker pull rivetdev/engine:full-3e0079cIndividual packagesnpm install rivetkit@pr-4745
npm install @rivetkit/react@pr-4745
npm install @rivetkit/rivetkit-napi@pr-4745
npm install @rivetkit/workflow-engine@pr-4745 |

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: