Flaky server test, pre-existing and outside this change (the change is client-only) #23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens: Flaky server test, pre-existing and outside this change (the change is client-only): 'bot pacing > applies each bot move only after its injected delay, consulting the delay once per move' asserts the injected delay is consulted exactly twice (toEqual([500, 100])) but under load a third/fourth auto-move is scheduled in the same window and the assertion fails. Failed on one run, passed on the immediate re-run.
Where: packages/server/src/session.test.ts:687
How it was seen:
npm testfailed it once (delays [500, 100, 150, 200]);npx vitest run packages/server/src/session.test.tspassed on the next run.Found by Braid's run
run_01M7GQNTCZC95SGDAPW021Y8FD, outside the work it was doing.