Skip to content

Conversation

@eswan18
Copy link
Owner

@eswan18 eswan18 commented Feb 9, 2026

Summary

  • The next build step in PR checks fails with Missing required environment variable: IDP_BASE_URL because lib/idp/client.ts has module-level requiredEnv() calls that run at import time during page data collection.
  • The Dockerfile already handles this with ENV IDP_BASE_URL="http://dummy", but the CI workflow only had a dummy DATABASE_URL. Added dummy values for IDP_BASE_URL and NEXT_PUBLIC_IDP_BASE_URL to match.

Test plan

  • PR checks pass (this PR is itself the test)

🤖 Generated with Claude Code

The Next.js build fails because lib/idp/client.ts has module-level
requiredEnv() calls for IDP_BASE_URL and NEXT_PUBLIC_IDP_BASE_URL.
The Dockerfile already sets these to dummy values for the build step,
but the CI workflow was missing them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@eswan18 eswan18 merged commit 5992487 into main Feb 9, 2026
1 check passed
@eswan18 eswan18 deleted the fix/ci-build-env-vars branch February 9, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant