mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 21:26:39 +00:00
* fix(sandbox): return from quarantine teardown when a peer already did the work retire() and retire_replaced_generations() guard their final rmdir() but list the fence directory and unlink each record unguarded, while contains() and _exists() in the same class already report a directory removed underneath them as "no fence". The teardown exclusion is a TTL lease, not a lock, so a peer can finish the same teardown in those two windows and the resulting FileNotFoundError escapes the unwrapped _retire_absent_quarantine() call at the top of creation. Both passes now tolerate a peer that removed the directory or the record first. * test(sandbox): correct quarantine docstring reference --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>