Repository navigation
fix(backend): recover auth-config deploy contract on backend-origin drift - #175
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for regal-bunny-0c8efe ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe PR adds support for deriving backend origin from forwarded request headers as a fallback when WEBAPP_BACKEND_URL is unset, enabling OAuth validation against the current request origin to prevent false deploy-gate failures in smoke checks. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
|





Summary
status=degradedonly becauseWEBAPP_BACKEND_URLis temporarily unset.What changed
packages/backend/src/routes/health.tsrequestOrigininto auth-config health builder.packages/backend/src/utils/authHealth.tsrequestOrigininput.authHealth.test.ts.health.test.ts.Verification
npm run test --workspace=packages/backend -- tests/unit/utils/authHealth.test.ts tests/integration/routes/health.test.tsnpm run db:generatenpm run build --workspace=packages/sharednpm run type:check --workspace=packages/backendnpm run lintSummary by CodeRabbit
New Features
Documentation