Skip to content

Conversation

@edmundhung
Copy link
Member

@edmundhung edmundhung commented Aug 20, 2025

Summary

We are about to make Worker bindings on wrangler dev with multi config works across commands in cloudflare/workers-sdk#10354.

DEVX-2127

Screenshots (optional)

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/pcx-technical-writing

@edmundhung edmundhung changed the title docs: changelog for wrangler dev multi config cross command support [Workers] changelog for wrangler dev multi config cross command support Aug 20, 2025
@edmundhung edmundhung marked this pull request as ready for review August 20, 2025 15:36
@edmundhung edmundhung requested review from a team as code owners August 20, 2025 15:37
Copy link
Contributor

@irvinebroque irvinebroque left a comment

Choose a reason for hiding this comment

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

This is so cool

Is there a GIF or little video or screenshot that can kind of show it, so that people really get how powerful it is?

Esp thinking about how most people don't even know that npx wrangler dev -c ./app/wrangler.jsonc -c ./api/wrangler.jsonc is even possible...

@edmundhung edmundhung requested a review from mikenomitch August 21, 2025 12:28
Copy link
Contributor

@mikenomitch mikenomitch left a comment

Choose a reason for hiding this comment

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

Some suggested comments, but +1ing to not block

wrangler dev --config ./app/wrangler.jsonc --config ./api/wrangler.jsonc
```

Previously, these Workers could not communicate with Workers running in separate dev commands. Now service bindings and tail consumers work across dev commands:
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe show a service binding (just reminds people it exists and how to do it?) - or at least link to the docs.

And def link tot he tail consumer docs.

EDIT: Show the service binding code after line 22 with a comment saying "this now works!" or something like that?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have linked both service bindings and tail workers, with an example service binding code added at the end: https://edmundhung-wrangler-multi-config-update.preview.developers.cloudflare.com/changelog/2025-09-23-wrangler-dev-multi-config-cross-command-support/

Copy link
Member Author

Choose a reason for hiding this comment

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

I will merge this changelog tomorrow if there is no other comments 👍🏼

wrangler dev --config ./auth/wrangler.jsonc
```

These Workers can now communicate with each other across separate dev commands, regardless of your development setup.
Copy link
Contributor

Choose a reason for hiding this comment

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

We have diagrams in docs that show both service bindings and tail workers

Could include them here as a visual to help people get it

Every time we talk about a nuanced thing like this change it is an opportunity to show people and help them understand what we are talking about especially when it comes to things like Service Bindings and Tail Workers, that are unique to Cloudflare and the reader is not walking in knowing about or with any context

Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't find a diagram in the docs that includes both, is there a way to make those diagram ourselves?

I have added a simple service bindings example instead:
https://edmundhung-wrangler-multi-config-update.preview.developers.cloudflare.com/changelog/2025-09-23-wrangler-dev-multi-config-cross-command-support/

@edmundhung edmundhung force-pushed the edmundhung/wrangler-multi-config-update branch from d23d786 to 744e09d Compare September 22, 2025 17:38
@edmundhung edmundhung merged commit df614bf into production Sep 23, 2025
8 checks passed
@edmundhung edmundhung deleted the edmundhung/wrangler-multi-config-update branch September 23, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants