Fix workspace folder path in devcontainer - #140
Merged
Conversation
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>
There was a problem hiding this comment.
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.jsonworkspaceFolderfrom/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
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Since home-assistant/supervisor#6865, the Supervisor stores local apps under
/mnt/supervisor/apps/localinstead 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