Skip to content

fix(config): prefer env config before defaults - #4369

Merged
tangly1024 merged 1 commit into
mainfrom
codex/fix-config-env-priority
Aug 4, 2026
Merged

fix(config): prefer env config before defaults#4369
tangly1024 merged 1 commit into
mainfrom
codex/fix-config-env-priority

Conversation

@tangly1024

Copy link
Copy Markdown
Collaborator

Summary

  • fix siteConfig fallback order so env-backed BLOG values are not overridden by caller defaults
  • add a focused regression test for POST_LIST_STYLE priority

Tests

  • yarn test tests/lib/config.test.js --runInBand
  • git diff --check -- lib/config.js tests/lib/config.test.js

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for notionnext-netlify ready!

Name Link
🔨 Latest commit e2efc95
🔍 Latest deploy log https://app.netlify.com/projects/notionnext-netlify/deploys/6a71698f4ab7a6000879b126
😎 Deploy Preview https://deploy-preview-4369--notionnext-netlify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
notion-next-preview Ready Ready Preview Aug 4, 2026 4:26am

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying notionnext-org-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e2efc95
Status: ✅  Deploy successful!
Preview URL: https://b6522cbb.notionnext-org-docs.pages.dev
Branch Preview URL: https://codex-fix-config-env-priorit.notionnext-org-docs.pages.dev

View logs

@tangly1024
tangly1024 merged commit e401c01 into main Aug 4, 2026
15 of 16 checks passed
@tangly1024
tangly1024 deleted the codex/fix-config-env-priority branch August 4, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant