You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
go-live rehearse: refuse bad live links cleanly; retryable walk errors; test gaps (#451 lens follow-ups) #454
Follow-ups from the two lenses on #451 (both SAFE: security #451 (comment), state #451 (comment)). Go-live kit; none loses data (every case stops before removing anything).
minor (both lenses)fork-kit/golive/rehearse.py:120-121: a live userdata link that is a loop, goes through a file, or points into an unreadable folder crashes with a traceback (only FileNotFoundError is caught; main() catches none). README says "Refused". Fix: refuse with "cannot tell where the live link X leads"; one test per case.
minorrehearse.py:99: the live userdata walk stops on any read error; a folder the live T3 deletes mid-walk gives "cannot be read" without saying "run again". Name it as a retryable refusal (as _no_list does) and test it.
minor (test gap)coldcopy.py:141: the '.' case is untested (mutant survived; x -> ./../y would stay in the clone and R0 on the clone shares the function). Add the case.
minor (test)coldcopy.py:154: with the hop limit removed the test hangs (CI red only after the 10-min job timeout). Cap the calls inside the test so it fails at once.
minor (test gap, both lenses): live links compared by file id is untested (mutant "path only" survived), though the README promises it. Also untested: the two read-error refusals (rehearse.py:226, :396).
nitcoldcopy.py:165: on case-folding filesystems (ext4 casefold, vfat/ntfs) the plan may keep a link out; R0 on the clone probably catches it (reasoned, not tested).
nitrehearse.py:23: the R0 linked-database refusal checks statev2.sqlite only, not -wal/-journal (t3-golive copy refuses those; only a copy not made by the kit gets through).
nits (docs): README "every depth the copy walks" (the live walk also walks the folders the copy skips); leftOut also lists sockets and fifos, not only links; each run walks live userdata three times (fine, maybe note it).
State question for the fix: a re-run after a refused run (old folder kept), a live folder deleted during the walk, journal entries from earlier runs.
Activity
fix(golive): rehearse tests prove the file id and each walk's run aga…
go-live rehearse: clean refusals for bad live links, retryable walk e…
go-live rehearse: clean refusals for bad live links, retryable walk e…
go-live rehearse: clean refusals for bad live links, retryable walk e…
go-live rehearse: clean refusals for bad live links, retryable walk e…
go-live rehearse: clean refusals for bad live links, retryable walk e…
go-live rehearse: clean refusals for bad live links, retryable walk e…