Skip to content

fix: replace import "dotenv/config" with explicit dotenv.config({ quiet: true }) - #1287

Merged
isamu merged 1 commit into
mainfrom
fix/dotenv-config-quiet
Feb 11, 2026
Merged

isamu merged 1 commit into
mainfrom
fix/dotenv-config-quiet

Conversation

@isamu

@isamu isamu commented Feb 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace side-effect import "dotenv/config" with explicit import dotenv from "dotenv"; dotenv.config({ quiet: true });
  • The old import "dotenv/config" pattern does not support the quiet option, which suppresses warnings about missing .env files
  • Updated: packages/cli/src/graphai_cli.ts

Test plan

  • Verify dotenv configuration still loads environment variables correctly

🤖 Generated with Claude Code

…et: true })

The side-effect import `import "dotenv/config"` does not support the `quiet`
option, which suppresses warnings about missing .env files. Replace with
explicit `import dotenv from "dotenv"; dotenv.config({ quiet: true });`
for consistent behavior across all packages.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@coderabbitai

coderabbitai Bot commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@isamu has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 2 minutes and 6 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/dotenv-config-quiet

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@isamu
isamu merged commit 4e8d298 into main Feb 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant