Repository navigation
fix(up): never leave Windows without 8sync.exe - #103
Merged
Merged
Conversation
One update at a time (lock), skip when the release is already in place, restore the old binary by rename or copy when the swap fails, heal a missing binary from the newest moved-aside copy, and never sweep those copies while it is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Seen live 2026-10-18:
8sync.exegone; only.8sync.old.51892(0.100.9) and.8sync.new.50188(a day old) left. The fail-closed guard hook then blocked every Claude Code session until the owner copied the backup back. Likely cause (not fully proven): rooms on older images auto-update concurrently on the same file..8sync.update.lock, create_new; >10 min = stale, taken over).8sync.exealready has the release's sha256.swap_in: tmp → dst failure → rename old back, else copy it back (never an empty slot); injected rename/copy so the failure paths are tested on every OS.heal_missing: dst missing → copy the newest.8sync.old.*into place; the sweep never runs while dst is missing;.8sync.new.*older than a day is swept.Tests: selfup 13 passed (new: failed swap restores by rename and by copy, heal from newest backup + sweep only when present, lock refusal/release); cargo verbs:: 537 passed. Gates: /sec OK, /rules ALLOWED, /aup-audit PASS, ccc risk --release medium.
🤖 Generated with Claude Code