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
Commit ca25018
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cache): hash which dependencies are inactive by request (#22693)
* fix(cache): hash which dependencies are inactive by request
A module's graph hash counted its inactive connections only, so watch kept
stale code when one unused dependency went missing as another came back.
Hash their requests instead: unlike the target's graph hash, a request does
not change when the target's id or export usage does.
Co-authored-by: aryanraj45 <[email protected]>
* test: skip inactive-dependency-hash under cacheUnaffected, which refuses usedExports
Also hash inactive requests as one JSON value, so request boundaries stay unambiguous.
---------
Co-authored-by: aryanraj45 <[email protected]>
0 commit comments