Repository navigation
Workaround for root.MkdirAll bug - #9637
Merged
Merged
Conversation
See golang/go#80308 Signed-off-by: Taylor Silva <[email protected]>
blarghmatey
added a commit
to mitodl/ol-infrastructure
that referenced
this pull request
Aug 13, 2026
Review feedback (Copilot) correctly flagged that concourse/concourse#9637 doesn't do what the original comment claimed. Checked both cited PRs directly: - #9601 ("Use os.Root when extracting files") is about archive/tar extraction safety, not baggageclaim's worker-boot directory creation. - #9637 ("Workaround for root.MkdirAll bug") closes #9635, a go-archive module test failure under Go 1.26.5 -- also about archive extraction. Neither is the actual cause of the missing overlays/work directory. Copilot's alternate claim (RemoveOrphanedResources) couldn't be verified either (no code-search access). Dropped the unverified upstream citation; the fix still stands on the directly observed live evidence. Claude-Session: https://claude.ai/code/session_014HfJ6tMK8dobyNiowPMCME
blarghmatey
added a commit
to mitodl/ol-infrastructure
that referenced
this pull request
Aug 13, 2026
…5401) * fix(concourse): pre-create baggageclaim overlays work dir for 8.3.0 Concourse 8.3.0 moved baggageclaim's filesystem operations onto Go's os.Root API (concourse/concourse#9637). It reliably creates the top-level overlays/ dir on worker boot but not the nested work/ subdirectory baggageclaim needs, leaving it perpetually empty and every volume create/lookup failing with "no such file or directory". Confirmed live on a production worker: overlays/ existed and was empty while volumes/{dead,init,live} (also runtime-created) were all present, isolating the bug to just this one nested path. Claude-Session: https://claude.ai/code/session_014HfJ6tMK8dobyNiowPMCME * fix(concourse): correct upstream attribution for overlays/work fix Review feedback (Copilot) correctly flagged that concourse/concourse#9637 doesn't do what the original comment claimed. Checked both cited PRs directly: - #9601 ("Use os.Root when extracting files") is about archive/tar extraction safety, not baggageclaim's worker-boot directory creation. - #9637 ("Workaround for root.MkdirAll bug") closes #9635, a go-archive module test failure under Go 1.26.5 -- also about archive extraction. Neither is the actual cause of the missing overlays/work directory. Copilot's alternate claim (RemoveOrphanedResources) couldn't be verified either (no code-search access). Dropped the unverified upstream citation; the fix still stands on the directly observed live evidence. Claude-Session: https://claude.ai/code/session_014HfJ6tMK8dobyNiowPMCME
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.
Changes proposed by this PR
closes #9635
See golang/go#80308
Can verify tests pass now with: