Skip to content

Conversation

@emily-shen
Copy link
Contributor

backport #10915 (show self-bindings as connected)

@emily-shen emily-shen requested review from a team as code owners October 27, 2025 11:20
@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2025

🦋 Changeset detected

Latest commit: 99c1d45

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

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

@emily-shen emily-shen changed the base branch from main to v3-maintenance October 27, 2025 11:20
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Oct 27, 2025
@emily-shen emily-shen added skip-pr-description-validation Skip validation of the required PR description format skip-v3-pr Skip validation of presence of a v3 backport PR labels Oct 27, 2025
Fixes #8970

Self-bindings (service bindings where a worker binds to itself) were
incorrectly showing as [not connected] in wrangler dev. This change
detects self-bindings by comparing the service name to the worker name
and always marks them as connected, since a worker is inherently
connected to itself.

- Modified print-bindings.ts to check for self-bindings before registry lookup
- Added test for self-bindings showing as [connected]
- Manually verified with workers-with-assets fixture

Co-Authored-By: smacleod@cloudflare.com <smacleod@cloudflare.com>
@emily-shen emily-shen force-pushed the emily/backport-10915 branch from cfbacee to 99c1d45 Compare October 27, 2025 12:15
@lrapoport-cf lrapoport-cf added the v3-backport The PR is a v3 backport targetting the v3-maintenance branch label Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-pr-description-validation Skip validation of the required PR description format skip-v3-pr Skip validation of presence of a v3 backport PR v3-backport The PR is a v3 backport targetting the v3-maintenance branch

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

2 participants