Repository navigation
fix(fs): Same change and cache rules on every backend, refuse Unicode name collisions - #87
Merged
Merged
Conversation
ifdotpy
commented
Oct 31, 2026
Owner
- Unicode: APFS also folds normalization on case-sensitive volumes. Collision checks (refuse_case_collisions, case_clash, refuse_case_clash, refuse_remaining_clashes, git import) now run there with a normalization key, and refuse before anything is deleted or written.
- Save: APFS decides 'changed' with the status rules (content, type, link target, exec bit, added/removed files) instead of thin metadata. touch, chmod 640 and empty folders make no automatic state.
- Caches: before any snapshot of the working folder, a cache path (machine setting or folder overlay, ignored, not versioned) that is a plain folder becomes a cache again. APFS marks it in place (no copy); btrfs copies with reflinks into a new subvolume; OverlayFS keeps caches by path.
- Tests: t72-save-change-rules, t73-cache-recreated, t74-unicode-names (all fail on the old binary). macOS local: t01 t02 t03 t05 t59 t64 t66 t67 apfs-local apfs-cache-retention apfs-thin pass.
ifdotpy
force-pushed
the
fix/fs-consistency
branch
from
October 31, 2026 13:01
4dbdc7d to
8787aeb
Compare
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.