Repository navigation
0.1.8
Adds remote re-verification, so a file lost on Icedrive's side no longer hides behind a "no changes" run forever.
coldsnake scrub- re-lists the folders whose recorded files have gone longest unchecked, compares sizes, and forgets anything missing or resized. The nextmirrorrun uploads it again. It is an oldest-first rotation, not a sample: every folder is verified once per cycle, and each run resumes where the last one stopped (sync-db.sqlitestores the per-folder check time). Costs one listing per folder, and folder ids are cached, so a folder's own listing also teaches us its childrens' ids.- Listings are paced. There is no whole-tree listing and the API throttles control calls, so going too fast costs a 90 s stall rather than a retry. Measured with the new
tools/throttle_probe.py: 1.39 calls/s held for 10 min and 2.08 calls/s for 3 min with no 429 and flat ~0.42 s latency, while 4.1 and 6.7 calls/s both answered429withRetry-After: 90.Clientnow spaces listings at 1.5 calls/s and slows further for the rest of a run if a 429 still happens. Uploads are unaffected. --folders N/--all/--remote NAME, plus--json/--report, andsystemd/coldsnake-scrub.{service,timer}at 03:00 - deliberately before the 05:00 mirror, since the throttle is shared.- Hidden folders are not reported as lost.
/collectionnever lists dot-prefixed folders, so.syncor.dtrashread as gone even when they exist; they are counted asunverifiableinstead. Hidden files inside visible folders are listed and verified normally. - Fixes:
name_keynow strips leading/trailing spaces, as folder-create does (a localLeading Spaceis stored asLeading Space, and used to read as a missing folder). The sync db and upload journal now live next to the config in use, so--configno longer writes the default state dir.
Verification: 179 tests green, and a full live sweep - the whole tree - finished with 0 failures and no throttling. Only real drift it found: one small dotfile missing from the remote.