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
All providers: make managed shim refresh idempotent
Brew / Npm / Pnpm / Goget providers all refreshed their managed
``bin_dir`` shim on every ``default_abspath_handler`` call (i.e. every
``load()``) by unconditionally ``unlink`` + ``symlink_to``. Even for
symlinks -- where ``.resolve().stat()`` follows the link and returns
the target's stable mtime -- this still churns the shim's inode on
every load, which invalidates fingerprint caches keyed on inode and
causes unnecessary filesystem thrash in tight lifecycle loops.
Skip the unlink + rewrite when the existing symlink already resolves
to ``target``. Matches the idempotency check already present in the
base class ``_link_loaded_binary`` and the same fix just applied to
Puppeteer/Playwright ``_refresh_symlink``.
0 commit comments