upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/allocator_proxy_test.cpp
diff options
context:
space:
mode:
authortikD1337 <199419268+tikD1337@users.noreply.github.com>2026-11-22 06:54:48 +0100
committertikD1337 <199419268+tikD1337@users.noreply.github.com>2026-11-22 06:54:48 +0100
commitee7218e6530f396b711739ae0980f38f49a95735 (patch)
tree14951744aa05b20c508e9ddd185d8a2defec5b56 /runtime/test/allocator_proxy_test.cpp
parent43d470316ec6cbcd64002bc3792998d9f5745dac (diff)
world_build: stage chunk writes so a failed rebuild preserves existing chunks
Stage chunk generation in .chunks-staging-*/ on the output volume, verify sizes and headers, and publish via rename once all chunks succeed. Previous chunks are kept in a staging backup until world.json is committed; any error or interrupt rolls back to the previous intact world.json and chunk files. Leftover staging directories from killed builds are cleaned up on the next run. Adds WorldBuildStagingTest (6 synthetic tests covering failed chunk generation, corrupt chunk rejection, world.json write failure rollback, and leftover cleanup).
Diffstat (limited to 'runtime/test/allocator_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions