Skip to content

Fix workspace folder path in devcontainer - #140

Merged
frenck merged 1 commit into
mainfrom
fix-devcontainer-workspace-path
Jul 30, 2026
Merged

Fix workspace folder path in devcontainer#140
frenck merged 1 commit into
mainfrom
fix-devcontainer-workspace-path

Conversation

@agners

@agners agners commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

Since home-assistant/supervisor#6865, the Supervisor stores local apps under /mnt/supervisor/apps/local instead of /mnt/supervisor/addons/local (the Supervisor migrates the old directory on startup). Update the devcontainer workspace folder to match, so a freshly opened devcontainer mounts the repository where the Supervisor actually looks for local apps.

Recreates #139 by @an-mediola, which was closed and could not be reopened. Credit to them for the original fix.

🤖 Generated with Claude Code

Since home-assistant/supervisor#6865 local apps live under
/mnt/supervisor/apps/local instead of /mnt/supervisor/addons/local.
Update the devcontainer workspace folder accordingly.

Same change as #139, which was closed and could not be reopened.

Co-authored-by: Amir Fallahian <an-mediola@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the devcontainer configuration so the workspace is mounted under the Supervisor’s current local apps directory (/mnt/supervisor/apps/local/...) rather than the legacy addons path, ensuring a freshly opened devcontainer matches where the Supervisor looks for local apps.

Changes:

  • Change .devcontainer.json workspaceFolder from /mnt/supervisor/addons/local/${localWorkspaceFolderBasename} to /mnt/supervisor/apps/local/${localWorkspaceFolderBasename}.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@frenck
frenck merged commit 4bf7cc6 into main Jul 30, 2026
6 checks passed
@frenck
frenck deleted the fix-devcontainer-workspace-path branch July 30, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants