Bugfix 3752 - Artifacts disappearing when missing integrity file #4185
I encountered personally similar problems as described in #3752 after interrupting a yarn install.
After some debugging I isolated this to being that the integrity file is removed during the
However, if this file is never rewritten (e.g. user/system interrupted yarn) the next time yarn is invoked it no longer has context of package artifacts, as they are retrieved from the integrity file.
I played around with some solutions and would like to put forward an idea of forcing package installations if the integrity file is missing.
I've added two test cases for
With the src codes changes you can see on CI that all tests pass
I'm not sure but, are there any scenarios where setting