Race condition: concurrent builds clobber each other's external dep clones #3

Merged
jorijnvdgraaf merged 1 commit from claude/issue-2 into master 2026-05-27 04:06:53 +02:00
Member

Resolves #2 via autonomous claude-podman run.

Resolves #2 via autonomous claude-podman run.
fix external cache race on concurrent builds
Some checks failed
CI / build-test-release (pull_request) Has been cancelled
5ac7077dd0
Two crafter-build invocations resolving to the same external dep both
cloned into <cache>/<name>-<hash>.tmp, corrupting each other's pack
tempfiles. Use a random per-invocation tmp suffix and treat a failed
rename whose destination now exists as the loser-of-the-race case —
discard the local clone and reuse the winner's.
jorijnvdgraaf deleted branch claude/issue-2 2026-05-27 04:06:53 +02:00
Sign in to join this conversation.
No description provided.