fix(docs): remove unused billing env vars that break search API#1467
Conversation
SLACK_BILLING_WEBHOOK_URL was required (non-optional) in the docs env config but never set in the Vercel deployment. This caused the Sentry instrumentation hook to crash on startup, making all server-rendered routes (including /api/search) return 500. Removed all billing-related env vars (Stripe, Slack webhook) since they were copy-pasted from the web app and unused in the docs site.
📝 WalkthroughWalkthroughRemoves five server-scoped environment keys from Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (beta)
No actionable comments were generated in the recent review. 🎉 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 |
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
37db5f2 to
d9eeb0e
Compare
d9eeb0e to
1dddc6c
Compare
Summary
SLACK_BILLING_WEBHOOK_URL, Stripe keys) from the docs app'senv.tsSLACK_BILLING_WEBHOOK_URLwas required (non-optional) but never set in the Vercel deployment, causing the Sentry instrumentation hook to crash on startup/api/search— return 500, completely breaking docs searchTest plan
/api/search?query=workspacereturns results instead of 500Summary by CodeRabbit