Skip to content

add support for containers in wrangler multiworker dev - #10032

Merged
dario-piotrowicz merged 5 commits into
mainfrom
dario/DEVX-2088/multi-workers-containers
Jul 23, 2025
Merged

add support for containers in wrangler multiworker dev#10032
dario-piotrowicz merged 5 commits into
mainfrom
dario/DEVX-2088/multi-workers-containers

Conversation

@dario-piotrowicz

Copy link
Copy Markdown
Member

Fixes #9933
Fixes https://jira.cfdata.org/browse/DEVX-2088

currently when running wrangler dev with different workers (meaning that the -c|--config flag is used multiple times) containers are not being included, meaning that trying to interact with them at runtime would not work and cause errors instead. The changes here address the above making wrangler correctly detect and wire up the containers.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: this is expected behavior
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: containers are not a v3 feature

@dario-piotrowicz
dario-piotrowicz requested a review from a team as a code owner July 21, 2025 17:11
@changeset-bot

changeset-bot Bot commented Jul 21, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bc191c3

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

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

@dario-piotrowicz
dario-piotrowicz force-pushed the dario/DEVX-2088/multi-workers-containers branch from f601d1a to 0342bbe Compare July 21, 2025 18:25
@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Jul 21, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the v3-maintenance branch with your changes. Thank you for helping us keep Wrangler v3 supported!

Depending on your changes, running git rebase --onto v3-maintenance main dario/DEVX-2088/multi-workers-containers might be a good starting point.

Notes:

  • your PR branch should be named v3-backport-10032
  • add the skip-v3-pr label to the current PR to stop this workflow from failing

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2025

Copy link
Copy Markdown
create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

wrangler

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

commit: bc191c3

@dario-piotrowicz
dario-piotrowicz force-pushed the dario/DEVX-2088/multi-workers-containers branch from 0342bbe to 7e3a55b Compare July 21, 2025 18:32
@dario-piotrowicz
dario-piotrowicz force-pushed the dario/DEVX-2088/multi-workers-containers branch from 7e3a55b to 6e66587 Compare July 21, 2025 18:36
Comment thread fixtures/interactive-dev-tests/tests/index.test.ts Outdated
Comment thread packages/wrangler/src/dev/hotkeys.ts Outdated
@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Jul 22, 2025
@dario-piotrowicz
dario-piotrowicz merged commit 154acf7 into main Jul 23, 2025
32 checks passed
@dario-piotrowicz
dario-piotrowicz deleted the dario/DEVX-2088/multi-workers-containers branch July 23, 2025 11:23
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Containers do not work with multiworker runtime

3 participants