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
fix(deploy): use try_exists for prune, add cycle/root symlink tests
Review follow-ups on the dangling-symlink prune:
- Swap exists() for try_exists()? in both branches so a stat error on a
symlink target propagates instead of being misread as "dangling" and
deleting a link we merely failed to stat.
- Note in the docstring that the walk depends on pnpm's layout, where every
package dir is a real directory reachable directly (so nested dangling
links are always visited).
- Print the success symbol on the prune line to match the other step output.
- Add a cycle-safety test (a dir symlink pointing back at the root must not
be followed) and a root-is-dangling-symlink test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments