Uh oh!
There was an error while loading. Please reload this page.
Attempt to address test flakes - #451
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This PR does two things:
mise.tomlfor pinning bun + node versions locally.#488 attempts to fix the problem at the source, but it's also a shot in the dark, so feel free to close.
Note
[!NOTE]
Increase test timeouts, add WebSocket retry and idle message timeouts, and set tool versions in .mise.toml to reduce test flakes
Raise polling and suite timeouts across server tests, add
connectWsretry logic andwaitForMessageWithTimeout, and adjust push-wait helpers; set Node 24.13.1 and Bun 1.3.9 via .mise.toml and removeenginesfrom package.json. Key changes are in apps/server/wsServer.test.ts and apps/server/vitest.config.ts.📍Where to Start
Start with WebSocket test utilities in
connectWsOnce,connectWs, andwaitForMessageWithTimeoutin apps/server/src/wsServer.test.ts.Macroscope summarized 9013507.