Keep a local save made during a cross-file-system download; make concurrent session saves safe #4
Loading…
Reference in a new issue
No description provided.
Delete branch "hakalya/fox-65-exdev-session-save"
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?
FOX-65. (1) mirror: the conflict check is repeated after a download was copied across file systems, right before the rename, so a local save made during a long copy is kept as a conflict copy instead of being replaced. Same-file-system path unchanged. (2) session: every write_private call uses a temporary file of its own (two commands sharing a state directory no longer rename each other's session.json.tmp away), cookies.lwp is written to a temporary file and renamed instead of rewritten in place, and the directory is synced after the rename. Three regression tests, each red on main
d42feb0; suite 151 OK on17d539b. 🤖 Generated with Claude Code