mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 02:55:51 +00:00
5666d6a9e8
saveToDisk used os.WriteFile which doesn't sync to disk before the atomic rename. On CI runners with aggressive filesystem caching this can leave the destination file with zero bytes, causing TestKnowledgeStore_SaveLoad to fail with "unexpected end of JSON input".