Skip to content

Conversation

@danielrs
Copy link
Contributor

Fixes #10722.

Describe your change...

Instead of defaulting to false, preview_urls will default to current remote status.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s): TBD
    • Documentation not necessary because:
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not a patch change.

@danielrs danielrs requested a review from a team as a code owner September 23, 2025 15:43
@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2025

🦋 Changeset detected

Latest commit: eed02e9

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

This PR includes changesets to release 3 packages
Name Type
wrangler Minor
@cloudflare/vite-plugin Major
@cloudflare/vitest-pool-workers 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

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Sep 23, 2025
@danielrs danielrs force-pushed the drivas/wrangler-keep-preview-urls-status-when-not-given branch from 695022b to 3c2a080 Compare September 23, 2025 15:45
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 23, 2025

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@10736

@cloudflare/workers-editor-shared

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

wrangler

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

commit: eed02e9

@petebacondarwin petebacondarwin force-pushed the drivas/wrangler-keep-preview-urls-status-when-not-given branch from 3c2a080 to 88be05f Compare September 25, 2025 10:31
Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending production approval.

Using default config 'workers_dev = true', current status will be overwritten.
"
`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this test if it is no longer relevant?
Did you just keep it here while the product change was discussed?

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Sep 25, 2025
@petebacondarwin petebacondarwin force-pushed the drivas/wrangler-keep-preview-urls-status-when-not-given branch from 88be05f to b0d2125 Compare September 26, 2025 13:24
@petebacondarwin
Copy link
Contributor

For posterity Dina Kozlov approved this approach from a product perspective.

@petebacondarwin
Copy link
Contributor

@danielrs - the tick box in the description says docs are TBD.
Can you create a draft PR (or issue) in the cloudflare-docs and link it in that description so that the CI check can go green?

@petebacondarwin petebacondarwin force-pushed the drivas/wrangler-keep-preview-urls-status-when-not-given branch from b0d2125 to 71e378b Compare September 27, 2025 07:21
Fixes cloudflare#10722.

Instead of defaulting to `false`, `preview_urls` will default to current
remote status.
@petebacondarwin petebacondarwin force-pushed the drivas/wrangler-keep-preview-urls-status-when-not-given branch from 71e378b to eed02e9 Compare September 28, 2025 06:51
@petebacondarwin
Copy link
Contributor

Approved but waiting on docs @danielrs

@danielrs
Copy link
Contributor Author

danielrs commented Oct 9, 2025

Closing in favor of #10939.

@danielrs danielrs closed this Oct 9, 2025
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Oct 9, 2025
@danielrs danielrs deleted the drivas/wrangler-keep-preview-urls-status-when-not-given branch October 13, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Invoking wrangler deploy w/o config forcibly resets preview URLs

2 participants