Upgrade Convex environment variable configuration - #109
Conversation
- Upgrade Convex peer dependency to ^1.39.0 - Pass typed environment variables into Resend configuration - Document the new environment configuration workflow
|
Warning Review limit reached
Next review available in: 35 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository: get-convex/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Resend client now requires an explicit Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Around line 33-48: Add a conditional setup instruction near the RESEND_API_KEY
configuration explaining that users enabling webhook flows must also set
RESEND_WEBHOOK_SECRET to the Resend webhook signing secret; keep it optional for
users who do not use webhooks.
- Around line 142-143: Update the webhook example’s import from
`@convex-dev/resend` to include vOnEmailEventArgs alongside the existing symbols,
so the usage in the webhook handler resolves correctly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: get-convex/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: e8adf2a9-a925-4217-8f4c-f3a593a25d8b
⛔ Files ignored due to path filters (3)
example/convex/_generated/server.d.tsis excluded by!**/_generated/**example/convex/_generated/server.jsis excluded by!**/_generated/**package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (5)
README.mdexample/convex/convex.config.tsexample/convex/example.tspackage.jsonsrc/client/index.ts
- Update the setup examples for Convex typed environment variables - Explain configuring and using RESEND_WEBHOOK_SECRET
- Show how to set RESEND_API_KEY with the Convex CLI
This PR implements Convex's new env variable handling into the Resend component. This change isn't exactly backwards compatible, so I'm not sure what the process is there (maybe a new major release like PostHog). The implementation is super simple and straight forward.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.