gen-index: serialize concurrent runs, unique tmp files #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/gen-index-concurrent-publish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Concurrent dev-release runs (breadbar + breadbox this round) both write
${OUT}.tmpin the shared DL dir; the loser'smvfailsNo such file or directoryandset -ereddens the publish job even though the index was written fine. This is why breadbar run 126 (the shell-theme publish) looked failed.flock a per-track lock +
mktemp -uthe tmp paths. Verified 2 concurrent runs both exit 0 with one consistent index.json.