-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: asynchronously process monitor args #884
Conversation
const postingMonitorSpinnerLabel = | ||
'Posting monitor snapshot for ' + displayPath + ' ...'; | ||
|
||
await spinner(analyzingDepsSpinnerLabel); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about these spinners anymore? copied from existing, but since this is now done asynchronously the spinner can flicker as other jobs kick in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we start a spinner around this asyncMonitor? and update it as we start more jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok for now, does indicate what's currently happening
bafabd0
to
d2a5484
Compare
Use Promise.all on each path passed to monitor. Added test for monitor using multiple paths.
d2a5484
to
22629c9
Compare
🎉 This PR is included in version 1.252.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
feat: Revert "Merge pull request #884 from snyk/feat/parallelize-monitor"
What does this PR do?
Use Promise.all on each path passed to monitor.
Added test for monitor using multiple paths.
How should this be manually tested?
Run 'snyk monitor ./path1 ./path2 ./path3 ...'
Use DEBUG=* to see each path is now processed asynchronously.
Any background context you want to provide?
In preparation for auto detect --all-projects feature.
What are the relevant tickets?
BST-1079