test(engine): add regression test for alarm-during-sleep-transition race#4755
Conversation
PR Review: Regression Test for Alarm-During-Sleep-Transition RaceOverviewAdds a single regression test The test reuses existing infrastructure ( Issues1. The test never runs in CI, so if the overdue-alarm reallocation path in Options:
2. Lifecycle subscription set up after the race window opens
The existing let lifecycle_rx = runner.subscribe_lifecycle_events();
let res = common::create_actor(...).await;
let actor_id = res.actor.actor_id.to_string();
ready_rx.await.expect("actor should send ready signal");
wait_for_actor_wake_from_alarm(lifecycle_rx, &actor_id, 1, 10)
.await
.expect("...");3. Minor: inline comment duplication The comment block just before Positives
|
50500b5 to
d151463
Compare
ed93ef7 to
8d93174
Compare
Preview packages published to npmInstall with: npm install rivetkit@pr-4755All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-64f52bc
docker pull rivetdev/engine:full-64f52bcIndividual packagesnpm install rivetkit@pr-4755
npm install @rivetkit/react@pr-4755
npm install @rivetkit/rivetkit-napi@pr-4755
npm install @rivetkit/workflow-engine@pr-4755 |
d151463 to
5322de5
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: