-
Notifications
You must be signed in to change notification settings - Fork 1k
Add .env.test for web app tests #824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Someone is attempting to deploy a commit to the Inbox Zero OSS Program Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughAdds a new test environment configuration file for the web app, defining environment variables for runtime mode, database URLs, OAuth credentials, LLM/OpenAI settings, Pub/Sub topics, encryption secrets, internal API keys, base URLs, and model selections. No code or behavior changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
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 |
robertKim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset. In case there are security findings, they will be communicated to you as a comment inside the PR. Hope you’ll enjoy using Jit. Questions? Comments? Want to learn more? Get in touch with us. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
apps/web/.env.test
(1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
!{.cursor/rules/*.mdc}
📄 CodeRabbit inference engine (.cursor/rules/cursor-rules.mdc)
Never place rule files in the project root, in subdirectories outside .cursor/rules, or in any other location
Files:
apps/web/.env.test
**/.env*
📄 CodeRabbit inference engine (.cursor/rules/security.mdc)
Never use predictable or weak cron secrets (e.g., 'secret', 'password', 'cron', or short/simple strings) in environment variables.
Files:
apps/web/.env.test
!pages/_document.{js,jsx,ts,tsx}
📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
!pages/_document.{js,jsx,ts,tsx}
: Don't import next/document outside of pages/_document.jsx in Next.js projects.
Don't import next/document outside of pages/_document.jsx in Next.js projects.
Files:
apps/web/.env.test
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
PR: elie222/inbox-zero#0
File: .cursor/rules/environment-variables.mdc:0-0
Timestamp: 2025-07-18T15:04:50.520Z
Learning: Applies to apps/web/env.ts : When adding a new environment variable, add it to `apps/web/env.ts` in the appropriate section: use `server` for server-only variables, and for client-side variables, use the `client` section and also add to `experimental__runtimeEnv`.
🪛 dotenv-linter (3.3.0)
apps/web/.env.test
[warning] 2-2: [UnorderedKey] The DATABASE_URL key should go before the NODE_ENV key
(UnorderedKey)
[warning] 3-3: [UnorderedKey] The DIRECT_URL key should go before the NODE_ENV key
(UnorderedKey)
[warning] 4-4: [UnorderedKey] The NEXT_PUBLIC_BASE_URL key should go before the NODE_ENV key
(UnorderedKey)
[warning] 5-5: [UnorderedKey] The GOOGLE_CLIENT_ID key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 6-6: [UnorderedKey] The GOOGLE_CLIENT_SECRET key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 7-7: [UnorderedKey] The GOOGLE_PUBSUB_TOPIC_NAME key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 8-8: [UnorderedKey] The EMAIL_ENCRYPT_SECRET key should go before the GOOGLE_CLIENT_ID key
(UnorderedKey)
[warning] 9-9: [UnorderedKey] The EMAIL_ENCRYPT_SALT key should go before the EMAIL_ENCRYPT_SECRET key
(UnorderedKey)
[warning] 10-10: [UnorderedKey] The INTERNAL_API_KEY key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 11-11: [UnorderedKey] The AUTH_SECRET key should go before the DATABASE_URL key
(UnorderedKey)
[warning] 12-12: [UnorderedKey] The MICROSOFT_CLIENT_ID key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 13-13: [UnorderedKey] The MICROSOFT_CLIENT_SECRET key should go before the NEXT_PUBLIC_BASE_URL key
(UnorderedKey)
[warning] 14-14: [UnorderedKey] The DEFAULT_LLM_PROVIDER key should go before the DIRECT_URL key
(UnorderedKey)
[warning] 15-15: [UnorderedKey] The DEFAULT_LLM_MODEL key should go before the DEFAULT_LLM_PROVIDER key
(UnorderedKey)
[warning] 17-17: [UnorderedKey] The OPENAI_BASE_URL key should go before the OPENAI_DEFAULT_MODEL key
(UnorderedKey)
[warning] 18-18: [UnorderedKey] The OPENAI_API_KEY key should go before the OPENAI_BASE_URL key
(UnorderedKey)
[warning] 19-19: [UnorderedKey] The NEXT_PUBLIC_OLLAMA_MODEL key should go before the NODE_ENV key
(UnorderedKey)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: cubic · AI code reviewer
- GitHub Check: Vercel Agent Review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
This file is part of gitignore atm |
We could make it |
Summary
Testing
Summary by CodeRabbit
Tests
Chores