Fix: Prevent CI hang by explicitly running vitest once - #406
Conversation
This PR updates the test script in package.json to use vitest run. Without the run flag, vitest defaults to watch mode, which blocks automated CI pipelines from completing. This change ensures the test suite runs once and terminates correctly in CI environments.
|
This PR targeted I retargeted it to |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesTest script execution
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized change makes the test command run once and exit instead of entering watch mode; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
🧪 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 updates the test script in package.json to use vitest run.
Without the run flag, vitest defaults to watch mode, which blocks automated CI pipelines from completing. This change ensures the test suite runs once and terminates correctly in CI environments.
Summary by CodeRabbit