fix(webapp): Vercel env var sync rejecting batches containing only reserved keys#3966
Conversation
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (4)
📜 Recent review details⏰ 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). (12)
WalkthroughThe pull request centralizes environment variable filtering logic in 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
ea346c0 to
6d8fe4b
Compare
87f05a8 to
22d7ae2
Compare
The Vercel integration pre-filter excluded only TRIGGER_SECRET_KEY/TRIGGER_VERSION, while the env var repository blacklists TRIGGER_SECRET_KEY/TRIGGER_API_URL. When a user's Vercel project had TRIGGER_API_URL set and it was the only var to sync for a target, it was submitted, stripped as blacklisted, and the whole batch was rejected with "You must set at least one valid variable.". Derive the Vercel sync exclusion set from the canonical blacklist via a new isReservedForExternalSync() helper so the two can no longer drift. Fixes TRIGGER-CLOUD-1HV fix: reserve TRIGGER_PREVIEW_BRANCH from external sync
22d7ae2 to
c978c4e
Compare
@trigger.dev/build
trigger.dev
@trigger.dev/core
@trigger.dev/python
@trigger.dev/react-hooks
@trigger.dev/redis-worker
@trigger.dev/rsc
@trigger.dev/schema-to-json
@trigger.dev/sdk
commit: |
Fix Vercel onboarding wizard to properly filter out reserved TRIGGER_ env vars