fix(storage): ErrNotFound wraps fs.ErrNotExist at the sentinel (#153 crashloop, round 2) #164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/notfound-sentinel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v0.5.3 still crashlooped:
Stathas a second, barereturn storage.ErrNotFound(the neither-file-nor-directory fallthrough) that bypassesmapS3Err, andOpenroutes throughStat. Instead of chasing return sites, the sentinel itself now wraps:ErrNotFound = fmt.Errorf("not found: %w", fs.ErrNotExist)— every site, present and future, satisfies both checks; identity comparisons anderrors.Is(err, storage.ErrNotFound)unchanged. Hotfix-1's site-local Join reverted to the plain sentinel. Full suite green.