mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 18:34:21 -10:00
When a process ends having left the tree changed or a block dirty since the last generation, the kept root writes one before its parent hears of the exit. An installer's files were kept only after the write-back's age or a sync; a page reloaded or closed just after the installer ended lost them. As on Windows, a program's files are on disk once it has exited. Tests: persist's an_exit_keeps_what_was_written (ignored set), and core/fs-persist-exit: an installer-like process writes a large file and small ones and exits, the page reloads at once with its own flush disabled and no tick due, and the next load has every byte (it fails without this). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_853378b774d645b4ac78b16d9af91a31