(SP: 1) [FIX] Add netlify-plugin-bundle-env for Netlify SSR env var delivery#427
(SP: 1) [FIX] Add netlify-plugin-bundle-env for Netlify SSR env var delivery#427ViktorSvertoka merged 9 commits intodevelopfrom
Conversation
fix(about): update LinkedIn follower fallback to 1800
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR optimizes data fetching in the layout component by concurrently loading messages and blog categories using Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 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 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 |
Goal
Fix all SSR page crashes on Netlify develop deploy caused by environment variables not reaching serverless function runtime.
Scope
netlify-plugin-bundle-envplugin tonetlify.toml— embeds env vars into serverless functions during build, as recommended by Netlify docsenvblock fromnext.config.tsthat inlined server secrets into client-side bundlesdb/index.tsuntil fix is confirmedContext
Netlify does not deliver dashboard env vars to Next.js SSR runtime — this is a known platform limitation (opennextjs/opennextjs-netlify#2754). The official workaround is
netlify-plugin-bundle-env, which injects env vars into function bundles at build time.Expected impact
All 28 SSR pages (blog, quizzes, leaderboard, dashboard, shop, auth, admin) should work on Netlify develop deploy.
Out of scope
Summary by CodeRabbit