You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky: event-await-cli "parks, restarts, and replays two event wakes" exits 1 instead of parking after daemon restart #639
packages/sdk/tests/event-await-cli.test.ts > "parks, restarts, and replays two event wakes through the actual CLI" fails intermittently in the linux-x64-artifact job.
Failure
After the daemon restart the CLI exits 1 where the probe expects a park (exit 4):
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 4
at expectPark (packages/sdk/tests/fixtures/event-await-cli-probe.mjs:58:10)
at packages/sdk/tests/fixtures/event-await-cli-probe.mjs:67:44
Where it is red / green on main (Relayflow v2 Cloud runtime artifact)
7379ad7 (#633) changes only examples/babysitter/ and abf01b9 predates it, so this is not a regression from those merges.
Local reproduction attempt
Built relayflowd and the SDK at each commit, then RELAYFLOWD_BIN=<target>/debug/relayflowd npx vitest run tests/event-await-cli.test.ts five times each:
22cd1836 run 1-5: Tests 1 passed (1)
7379ad73 run 1-5: Tests 1 passed (1)
So it does not reproduce on an idle machine. The likely suspect is timing in the restart → second-wake path under CI load. The test's failure output includes each CLI invocation's stdout/stderr (the probe logs them), which should show what the post-restart flows call reported.
Activity