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
CLI diff does not list orphan links in merge mode #940
In merge mode, skillshare diff never lists a link that sync is about to prune. The dashboard's Sync page does.
collectMergeDiff (cmd/skillshare/diff.go:767) records links only to know which skills are already linked. Its "local only" loop skips them, and nothing calls sync.OrphanLink.
Steps
Sync a skill to a merge-mode target.
Delete the skill from the source.
Run skillshare diff.
Expected: the link is listed as an orphan that sync will remove, as copy mode lists "orphan (will be pruned)". Actual: nothing is listed. skillshare sync then removes the link.
Call sync.OrphanLink for each link that no source skill maps to, and list it when RemoveReason is set.
Activity
fix(diff): list only what sync prunes, and have doctor follow it (run…