INC-2026-001P3resolvedCloudflare Pages: deploys landing as preview, not production
Cloudflare Pages projects had production_branch set to 'production' (the initial default) rather than 'main', causing every wrangler deploy --branch=main to land as a preview deployment. The custom-domain alias stayed pinned to the last production deployment, so live URLs went stale.
No customer data affected. trust.regunav.com + landing displayed stale content for ~36 hours. Resolved before the next billing cycle.
The Pages project create command set production_branch on CREATE only; subsequent code-deploys did not update it. Our deploy step had no idempotent PATCH to enforce production_branch=main.
Deploy workflow now PATCHes production_branch=main on every deploy (idempotent). cf-pages-remediation workflow scans + repairs any project drift. Per Principle #38 root-cause fix: monitoring + alert added so stale-prod never sits silent again.
regunav.comtrust.regunav.comframework.regunav.com