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
When scanning a few different repos like https://github.com/coinbase/rest-hooks, yarn audit --json will produce 19 GB which then get entirely placed into memory and is handled inefficiently. This particularly affects CI scans that may expect some sort of response from salus within a time period. Currently, Salus only outputs on completion.
2.6.0 addresses this by adding a heartbeat that emits every minute. This can turned off using the heartbeat flag (--heartbeat false). This flag also respects quiet mode.
2.6.1 (still in dev phase) will add in stream parsing. We will watch how well this does when yarn seems to run into issues. Sometimes yarn outputs without this enormous dataset and sometimes it does.
When scanning a few different repos like https://github.com/coinbase/rest-hooks,
yarn audit --json
will produce 19 GB which then get entirely placed into memory and is handled inefficiently. This particularly affects CI scans that may expect some sort of response from salus within a time period. Currently, Salus only outputs on completion.There's a couple of options to fix this issue.
The text was updated successfully, but these errors were encountered: