- Record the uploaded revision when a file changes mid-upload, so the next
round sends the finished copy instead of restoring the truncated one.
- Keep both copies when sizes differ but timestamps are equal.
- Probe the WebDAV mount in the background with a time limit, and keep the
mount while the host is unreachable.
- Mount over a non-empty directory as before. A stray .DS_Store no longer
forces sync mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run fallback sync_files in a non-overlapping background subshell with a completion marker and zombie-state fallback so large shared directories never starve apply_host_config, report_status (30s keymap freshness), or sync_clipboard. Also prioritize sync_keymap_carrier before drive/folder mounts in apply_host_config and run keymap teardown before killing/reaping the background sync worker in cleanup().