Skip to content

Conversation

Copy link

Copilot AI commented Dec 17, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>Unable to label ports exposed by appPort</issue_title>
<issue_description>

  • VSCode Version: 1.105.0
  • Local OS Version: Windows 11 25H2
  • Remote OS Version: Ubuntu 24.04.3 LTS
  • Remote Extension/Connection Type: Dev Containers
  • Logs: N/A

Steps to Reproduce:

  1. Clone https://github.com/home-assistant/core

  2. Include portAttributes to the devcontainer.json:

    {
      "appPort": ["8123:8123"], // existing
      "portsAttributes": {
        "8123": {
          "label": "Home Assistant",
          "onAutoForward": "silent"
        }
      }
    }
  3. Reopen in the devcontainer

  4. Check ports tab:

Image

No Home Assistant label. I was expecting to see something like:

Image

Note that appPort cannot be refactored into forwardPorts because of:

  1. Proposal: support forwarding UDP ports devcontainers/spec#643
  2. https://github.com/home-assistant/core/pull/154099/files#r2417724273

Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: Yes

This is related to #11254.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to label ports exposed by appPort

2 participants