Skip to content

[wrangler] Surface remote proxy session errors#11896

Merged
petebacondarwin merged 1 commit into
cloudflare:mainfrom
scalarian:fix/remote-proxy-session-errors
May 15, 2026
Merged

[wrangler] Surface remote proxy session errors#11896
petebacondarwin merged 1 commit into
cloudflare:mainfrom
scalarian:fix/remote-proxy-session-errors

Conversation

@staticpayload
Copy link
Copy Markdown
Contributor

@staticpayload staticpayload commented Jan 13, 2026

Fixes #11098.

Describe your change...

  • Include controller reason and root cause in startRemoteProxySession errors so Access/cloudflared issues are visible.
  • Update remote bindings tests to match the richer error message.
  • Add wrangler changeset.

Tests: pnpm test:ci -F wrangler -- remote-bindings-errors
E2E tests not run (requires Cloudflare credentials).


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: error messaging change only.

A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@staticpayload staticpayload requested a review from a team as a code owner January 13, 2026 15:18
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 13, 2026

🦋 Changeset detected

Latest commit: 9380adb

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

@petebacondarwin petebacondarwin force-pushed the fix/remote-proxy-session-errors branch from db53564 to 5f610f0 Compare March 14, 2026 16:40
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/e2e/remote-binding/remote-bindings-api.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/dev/remote-bindings-errors.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts: [@cloudflare/wrangler]

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@petebacondarwin petebacondarwin force-pushed the fix/remote-proxy-session-errors branch from 5f610f0 to f96a27a Compare March 20, 2026 14:58
@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Mar 20, 2026
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/e2e/remote-binding/remote-bindings-api.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/dev/remote-bindings-errors.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts: [@cloudflare/wrangler]

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 20, 2026

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11896

wrangler

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

commit: 9380adb

@penalosa penalosa force-pushed the fix/remote-proxy-session-errors branch from f96a27a to 898282a Compare March 20, 2026 20:12
@petebacondarwin petebacondarwin force-pushed the fix/remote-proxy-session-errors branch 2 times, most recently from a254213 to 53d76cd Compare March 24, 2026 11:13
@petebacondarwin petebacondarwin force-pushed the fix/remote-proxy-session-errors branch from 53d76cd to 6ad5a8d Compare April 15, 2026 06:45
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
Show detailed file reviewers
  • packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/e2e/remote-binding/remote-bindings-api.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/dev/remote-bindings-errors.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/api/remoteBindings/start-remote-proxy-session.ts: [@cloudflare/wrangler]

@petebacondarwin petebacondarwin requested review from a team and penalosa and removed request for a team April 15, 2026 06:51
@workers-devprod
Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk May 14, 2026
@petebacondarwin petebacondarwin force-pushed the fix/remote-proxy-session-errors branch from 6ad5a8d to 9380adb Compare May 15, 2026 14:50
@petebacondarwin petebacondarwin merged commit c5c9e20 into cloudflare:main May 15, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk May 15, 2026
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.

Wrangler should surface issues with Access when using remote bindings

4 participants