chore(tests): prefer silent tests#4660
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummarySilences Vitest output and replaces per-package dotenv-cli usage by loading
Written by Cursor Bugbot for commit ad305c6. This will update automatically on new commits. Configure here. |
|
Caution Review failedThe pull request is closed. Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughRemove load-env/dotenv-cli usage and update test scripts across packages to call vitest directly (often with --silent=passed-only); add dotenv.config call in vitest.config.mts to load a specific .env file at module init. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (9)
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 |
a34df6e to
ac3c867
Compare
|
Bun is claimed to be 5x faster than Vitest. |
The stream-metadata dev:local_dev script uses dotenv-cli but it was removed from its devDependencies. Adding to root for monorepo sharing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SDK tests was spamming in CI. It's impossible to read things due to the spam of rpc retries.
This PR adds
--silent=passed-only. https://vitest.dev/config/silent.html#silentI also removed the
load-envby loading the .env in the vitest root.