Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wrangler] fix: fix local Durable Object proxies not working #5669

Merged
merged 2 commits into from Apr 23, 2024

Conversation

dario-piotrowicz
Copy link
Member

@dario-piotrowicz dario-piotrowicz commented Apr 20, 2024

What this PR solves / how to test

This PR solves the regression of local Durable Object proxies not working (a regression introduced in wrangler 3.46.0, more specifically in #5215)

To test the fix please try out the minimal reproductions of the linked issues 馃憞 with both the latest wrangler version and this PR's prerelease (the former will not work while the latter would work as intended)

Fixes #5620
Fixes #5658

Author has addressed the following

@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner April 20, 2024 13:40
Copy link

changeset-bot bot commented Apr 20, 2024

馃 Changeset detected

Latest commit: 1eba287

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

This PR includes changesets to release 2 packages
Name Type
wrangler 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

Copy link
Contributor

github-actions bot commented Apr 20, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-wrangler-5669

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5669/npm-package-wrangler-5669

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-wrangler-5669 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-create-cloudflare-5669 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-cloudflare-kv-asset-handler-5669
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-miniflare-5669
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-cloudflare-pages-shared-5669
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8799063938/npm-package-cloudflare-vitest-pool-workers-5669

Note that these links will no longer work once the GitHub Actions artifact expires.


wrangler@3.51.2 includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240405.2
workerd 1.20240419.0 1.20240419.0
workerd --version 1.20240419.0 2024-04-19

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

.changeset/odd-guests-beam.md Outdated Show resolved Hide resolved
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.

Love it!

@dario-piotrowicz dario-piotrowicz merged commit a7e36d5 into main Apr 23, 2024
15 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/5620/getPlatformProxy-DO branch April 23, 2024 13:01
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
2 participants