fix(rivetkit-core): gate startup until runtime is ready#4736
Conversation
13072b7 to
6db71dc
Compare
Review: fix(rivetkit-core): gate startup until runtime is readyOverviewThis PR fixes a race condition where client requests could be dispatched to an actor that has not finished its startup sequence (i.e., What is correct and well-done
Issues and suggestions1. Missing newline at EOF in All other JSON artifact files end with a newline; this one does not. Should add a trailing newline. 2. Unrelated pnpm dependency ( The 3. No tests for the new The lifecycle and registry tests in 4. When an actor is in 5. Hardcoded 100 ms delay inconsistency in At line ~351 (the WebSocket retry path), 6. WebSocket path propagates
SummaryThe fix is correct and addresses a real race condition. The main gaps before merging are a test covering the |
38f839d to
e8072b7
Compare
6db71dc to
e33e626
Compare
e33e626 to
06b3383
Compare
Preview packages published to npmInstall with: npm install rivetkit@pr-4736All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-ed96c00
docker pull rivetdev/engine:full-ed96c00Individual packagesnpm install rivetkit@pr-4736
npm install @rivetkit/react@pr-4736
npm install @rivetkit/rivetkit-napi@pr-4736
npm install @rivetkit/workflow-engine@pr-4736 |
e8072b7 to
4f00fb4
Compare
06b3383 to
49fed12
Compare
49fed12 to
c4a5108
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: