upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/loader_test.cpp
diff options
context:
space:
mode:
authorbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 13:48:31 -0600
committerbobcatchris <83428450+bobcatchris@users.noreply.github.com>2026-11-22 13:48:31 -0600
commitb5c90c2102ae8a06f0a2b01ad1f4e35fe2b8529f (patch)
treea9c29b4b3eb2ccb9ccc2b13c9854c1d226ad9b59 /runtime/test/loader_test.cpp
parent162821017ea3c286c8bec860f3ff94f037912061 (diff)
world_build: keep concurrent builds out of one output
Staging cleanup, publication and stale-chunk pruning all work on the shared output directory, so two builds into it could delete each other's staged chunks. Hold an OS file lock keyed by the normalized output path for the whole build; a second build gets a clear error instead of interfering. The lock lives in the system temp directory, so output contents and failure cleanup are unchanged. Credit @lucastayaralvarenga-ui for the finding.
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions