| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Replace the 3-second write debounce with serialized write-through and atomic temp-file replace so cache info is durable when mutating futures complete (#491). Co-authored-by: Cursor <cursoragent@cursor.com>
Keep contributor- and agent-specific guidance out of the shared repository. Co-authored-by: Cursor <cursoragent@cursor.com>
| Back | FazBrowse Home | New Git URL |
✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Bug fix for JsonCacheInfoRepository persistence, plus ignore local AGENTS.md files.
⤵️ What is the current behavior?
JsonCacheInfoRepository debounces disk writes by 3 seconds. If the app is force-stopped or killed before that timer fires (and dispose()/close() is not called), cache metadata updates are lost. Direct writeAsString to the JSON file can also leave an empty/corrupt file if interrupted mid-write.
🆕 What is the new behavior (if this is a feature change)?
💥 Does this PR introduce a breaking change?
No.
🐛 Recommendations for testing
📝 Links to relevant issues/docs
Fixes #491
Related durability concerns also touch empty/corrupt JSON reads (#450), but this PR focuses on write timing and atomic replace rather than read recovery.
🤔 Checklist before submitting
Made with Cursor