mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
## Why Cancelling an async migration caller can leave its blocking compression or decompression worker running. Releasing migration locks before that worker finishes allows other writers or migrations to access files still being processed. ## What changed Share maintenance, cross-process writer, and local writer locks with blocking workers during migration and recovery. Keep those locks held until file work completes, releasing cross-process locks before allowing local writers to proceed. ## Testing Add a regression test for cancelled compression and decompression callers that verifies locks remain held until the worker finishes and the output is complete. Preserve the Unix check that decompression temporaries have owner-only permissions. GitOrigin-RevId: 74855250d89ecab81eaadc2956e328d37b65e72e