Repository navigation
V2.8.8
V2.8.8
V2.8.8 - The Sync & File Lock Update
hey, we are back. We basicly eliminated all those disgusting race conditions and lock errors that were nuking your settings.
Here is all the stuff we fixed:
Settings & Locks (No more nuked configs)
- Settings File Access RIP: If the settings file was locked for a second, it instantly went "rip" and the app just crashed. We slapped some proper retry logic in there for read and write operations now. Plus: Settings now save atomically and clean up temp files. Nothing breaks anymore, save.
- Legacy Settings Parsing Trash: Some old, malformed ExtractedUnitypackages entries literally killed the entire deserialization and reset everything to default. Bruh. The parser now just skips the broken trash, deduplicates the file paths, and actually handles Unix timestamps properly.
Search & Core Fixes
- Everything SDK Race Condition: If you started multiple app instances at the same time, they boxed each other for the Everything SDK DLL and the initialization completely died. I secured that shit with a named mutex and lock retries now. The DLL is shared properly, no more startup fails tho.
- Fake Gzip Checksum Errors: The core engine previously logged legit every normal tar parse failure as a "Gzip Checksum Mismatch". That was complete trash and didn't help with debugging at all. It now throws the real
InvalidDataExceptionand the Discord error log is finally clean from those fake messages. gg.
Under the Hood
- HakuSyncService API Spam: When concurrent
SyncActivityAsynccalls came in for the exact same entry, the app just pointlessly spammed the API. Slapped some deduplication in there so it doesn't send everything twice. Also refactored it to inject HttpClient via DI for easier testing. - Code Cleanup: Threw out unused references and fixed the formatting. Code is looking fresh again
^^
Full Changelog: V2.8.7...V2.8.8