Skip to content

Workaround for root.MkdirAll bug - #9637

Merged
taylorsilva merged 1 commit into
masterfrom
workaround-root-mkdirall
Jul 9, 2026
Merged

taylorsilva merged 1 commit into
masterfrom
workaround-root-mkdirall

Conversation

@taylorsilva

Copy link
Copy Markdown
Member

Changes proposed by this PR

closes #9635

See golang/go#80308

Can verify tests pass now with:

GOTOOLCHAIN=go1.26.5 ginkgo -r -p --keep-going ./go-archive/

@taylorsilva
taylorsilva requested a review from a team July 9, 2026 16:26
@taylorsilva taylorsilva added the bug label Jul 9, 2026
@taylorsilva taylorsilva added this to the v8.3.0 milestone Jul 9, 2026
@taylorsilva
taylorsilva merged commit 2bddebe into master Jul 9, 2026
11 checks passed
@taylorsilva
taylorsilva deleted the workaround-root-mkdirall branch July 9, 2026 21:34
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

go-archive tests failing on go1.26.5

1 participant