You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4d86d66
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cdn): a deploy waits for a new Cloudflare zone's certificate and proxies in the same run
A zone that was just delegated has no edge certificate, so its hosts were
published DNS-only and a second deploy was needed to turn the proxy on.
reconcileCloudflareCdn now takes edgeWait: it waits, twenty minutes by
default (cdn.cloudflare.edgeWaitMinutes), for the zone to activate and
Universal SSL to be issued, asking Cloudflare to check the nameservers
while the zone is pending, and then proxies. A pending zone is waited on
only when the caller says its nameservers were moved.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@@ -200,7 +304,7 @@ export async function reconcileCloudflareCdn(
200
304
report.warnings.push(
201
305
`${host}: publishing DNS-only — ${reason}. Proxying it would make Cloudflare terminate TLS with no certificate for the name, `+
202
306
`which fails the handshake outright rather than degrading. Universal SSL covers the apex and ONE level of subdomain, so a deeper `+
203
-
`name needs its own certificate; otherwise re-run the deploy once the certificate is active.`,
307
+
`name needs its own certificate; otherwise ${waited ? 'the certificate was not issued within the time this deploy waits, and the next deploy proxies it' : 're-run the deploy once the certificate is active'}.`,
0 commit comments