Skip to content

fix: thread host localEnv through volume-mode rebuild - #26

Merged
wcgomes merged 2 commits into
mainfrom
fix/volume-rebuild-localenv
Aug 14, 2026
Merged

fix: thread host localEnv through volume-mode rebuild#26
wcgomes merged 2 commits into
mainfrom
fix/volume-rebuild-localenv

Conversation

@wcgomes

@wcgomes wcgomes commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

Volume-mode rebuild failed after a successful clone when devcontainer.json used the host kubeconfig idiom ${localEnv:HOME}${localEnv:USERPROFILE}/.kube/config.

  • ConfigReader volume resolve passed an empty localEnv, so both substitutions collapsed and the bind source became /.kube/config.
  • Bind-mode up already threaded the host environment and expanded correctly.
  • Thread host localEnv through volume-mode read / readVolumeWithRaw / resolveVolumeFile, RebuildCommand, and recovery validation.
  • Default empty maps now fall back to ProcessInfo.processInfo.environment.
  • Tests cover host expansion, the empty-localEnv collapse to /.kube/config, bind-mode parity, and recovery validation.

Commits

  • a87162f fix: thread host localEnv through volume-mode rebuild

Replace the one-sided semaphore wait with a DispatchGroup so both execs
must arrive before either proceeds, eliminating the flake.
@wcgomes
wcgomes merged commit bf9f26a into main Aug 14, 2026
1 check passed
@wcgomes
wcgomes deleted the fix/volume-rebuild-localenv branch August 14, 2026 18:27
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.

1 participant