fix(claude-dev, mistral-dev): persist credentials via a named volume, fixing GitHub Codespaces - #67
Merged
Conversation
✅ PR Validation Passed
📋 Pipeline Status
🤖 Generated by @helpers4 CI • 2026-08-30 |
baxyz
force-pushed
the
docs/claude-mistral-dev-codespaces-incompatibility
branch
from
August 30, 2026 21:24
86a14aa to
7934a7b
Compare
…bind-mount
GitHub Codespaces doesn't support host bind-mounts at all, so the
${localEnv:HOME}/.claude bind-mount failed the whole container build
there. Docker named volumes don't have that failure mode and need no
initializeCommand, so this switches to one, scoped by ${localEnv:USER}
to keep credentials shared across every local devcontainer for the
same OS user, matching the previous behavior.
Fixes #66
…ind-mount
Same fix as claude-dev: GitHub Codespaces doesn't support host
bind-mounts, so the ${localEnv:HOME}/.vibe bind-mount failed the whole
container build there. Switched to a Docker named volume scoped by
${localEnv:USER}, matching claude-dev's approach.
Fixes #66
baxyz
force-pushed
the
docs/claude-mistral-dev-codespaces-incompatibility
branch
from
August 30, 2026 21:32
7934a7b to
e44fac1
Compare
3 tasks
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
Fixes #66. GitHub Codespaces doesn't support host bind-mounts at all — confirmed in VS Code's docs.
${localEnv:HOME}can resolve to an empty string there, turningclaude-dev's${localEnv:HOME}/.claudemount source into the literal path/.claude, which doesn't exist, failing the whole codespace build.mistral-devhas the same mount shape and hits the same failure.Fix
Switched both features from a host bind-mount to a Docker named volume, scoped by
${localEnv:USER}(e.g.helpers4-claude-credentials-${localEnv:USER}):initializeCommandis needed anymore.${localEnv:USER}rather than${devcontainerId}(the patternpnpm-store/playwright-devuse) keeps credentials shared across every local devcontainer for the same OS user — matching the old bind-mount's behavior — instead of isolating per project like a cache would.install.shand the generatedsetup-credentials.shneeded no changes — they only check whether/mnt/h4claude//mnt/h4vibeis a mounted directory, not how.Bumped
claude-devto 1.0.6 andmistral-devto 1.0.4, and documented the new${localEnv:USER}-scoped volume pattern inAGENTS.mdalongside the existing${devcontainerId}one.Test plan
devcontainer-feature.jsonfiles are valid JSONinstall.sh/setup-credentials.shconfirmed mount-type-agnostic (only checks[ -d "$STAGED" ])devcontainer features testmatrix (local Docker, plain Linux GH Actions runners) can't reproduce🤖 Generated with Claude Code