Skip to content

[wrangler] Add custom-domain Preview provisioning note - #15522

Draft
yomna-shousha wants to merge 1 commit into
cloudflare:mainfrom
yomna-shousha:yomna/custom-domain-preview-provisioning-note
Draft

[wrangler] Add custom-domain Preview provisioning note#15522
yomna-shousha wants to merge 1 commit into
cloudflare:mainfrom
yomna-shousha:yomna/custom-domain-preview-provisioning-note

Conversation

@yomna-shousha

Copy link
Copy Markdown
Contributor

Follow-up to #15336. This change is independent of #15434 and is based on main, not that PR.

After a successful custom-domain deployment with at least one route that explicitly sets previews_enabled: true, Wrangler now prints one note after the deployed trigger list:

Note: DNS and TLS certificate provisioning for Preview domains may continue after this deploy. If a new Preview URL does not work immediately, wait a few minutes and retry.

The supporting live-test report (wrangler-pr15434-repro-20260905115829/REPORT.md, "Follow-up PR for provisioning delay") found that two new custom Preview hosts initially failed TLS and worked on a later retry. The static note is intentional because the current custom-domain API exposes no reliable DNS or TLS readiness state. Polling the configured base domain would also be wrong for preview-only routes, where that bare hostname is intentionally not active. This change therefore makes no extra API, DNS, HTTP, or TLS request and does not delay deployment completion.

The note uses the existing completed Custom domains trigger result, so failed custom-domain publishing does not print it. It is not gated on TTY state, which keeps interactive and CI output consistent.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: this only adds an explanatory CLI note and does not change configuration or API behavior.

Note

This is a contribution from an AI agent: OpenCode, GPT-5.6 Sol.

@changeset-bot

changeset-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f718608

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@cloudflare/deploy-helpers Patch
wrangler Patch
@cloudflare/remote-bindings Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Sep 5, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15522

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15522

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@15522

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15522

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15522

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15522

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15522

miniflare

npm i https://pkg.pr.new/miniflare@15522

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15522

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15522

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15522

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15522

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@15522

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15522

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15522

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15522

wrangler

npm i https://pkg.pr.new/wrangler@15522

commit: f718608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants