Skip to content

Conversation

@dario-piotrowicz
Copy link
Member

@dario-piotrowicz dario-piotrowicz commented Aug 11, 2025

Initial step for #10235

Before:
Screenshot 2025-08-11 at 11 44 57

After:
Screenshot 2025-08-11 at 11 49 26


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: improved DX experience
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: this is (roughly) a new feature so not something that we need to backport

@changeset-bot
Copy link

changeset-bot bot commented Aug 11, 2025

🦋 Changeset detected

Latest commit: f87f4e2

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 11, 2025

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

wrangler

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

commit: f87f4e2

lastComponent?: Result;
};

// TODO: move this Diff Class to a shared location (since it is not Cloudchamber specific)
Copy link
Member Author

Choose a reason for hiding this comment

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

In order not to introduce unnecessary diffs in this PR (and making it much more complex to review) I would move the diff class in a separate followup PR

@dario-piotrowicz dario-piotrowicz force-pushed the dario/wrangler-dash-config-diff branch 16 times, most recently from be1a383 to 9e6dc27 Compare August 12, 2025 09:17
@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review August 12, 2025 10:25
@dario-piotrowicz dario-piotrowicz requested review from a team as code owners August 12, 2025 10:25
@dario-piotrowicz dario-piotrowicz force-pushed the dario/wrangler-dash-config-diff branch from 9e6dc27 to abe4baa Compare August 12, 2025 11:01
}

async function getWorkerConfig(
// TODO: move this to a shared location
Copy link
Member Author

Choose a reason for hiding this comment

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

Like for Diff I'd prefer not to do such refactoring as part of this PR as that would significantly (and with little gain) increase the diffs people would need to review here, if it's ok I'll do it as a followup

}
: {}),
tail_consumers: serviceEnvMetadata.script.tail_consumers,
tail_consumers: serviceEnvMetadata.script.tail_consumers ?? undefined,
Copy link
Member Author

Choose a reason for hiding this comment

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

note: I've added this because otherwise tail_consumers would default to null which would not match with the undefined default value we have in wrangler

@dario-piotrowicz dario-piotrowicz force-pushed the dario/wrangler-dash-config-diff branch from c4c8ff6 to f87f4e2 Compare August 13, 2025 23:41
Copy link
Contributor

@CarmenPopoviciu CarmenPopoviciu left a comment

Choose a reason for hiding this comment

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

amazing work Dario! 🚀

@dario-piotrowicz dario-piotrowicz merged commit 9b09751 into main Aug 15, 2025
56 of 71 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/wrangler-dash-config-diff branch August 15, 2025 01:15
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-v3-pr Skip validation of presence of a v3 backport PR

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants