Auto-update corrupts the file that is currently open
Steps to reproduce
- Open a large ledger file and leave it unsaved.
- Trigger the automatic update.
- Wait for the program to restart.
- Try to open the same file.
- Expected
- The update waits for the open file, or the file is saved safely first.
- Actual
- The program exits mid-write; on reopening, the file cannot be read.
- Impact
- Unsaved work is lost permanently. Without a backup there is no way back.
- Evidence
- video-302.mp4 · corrupt-302.zip