-
Notifications
You must be signed in to change notification settings - Fork 1
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
lstn scan not failing without any output #170
Comments
This is likely caused by connection issues to the npm registry, maybe a timeout issue or something like that. I'll investigate further. Another thing I remember is that we didn't experience this in easylstn (the prototype before scan). I noticed that this problem exists in to as well when you do things like this.
So I suspect that also doing the dependencies one at time (as opposed to doing them in bulk) will also be beneficial. Additionally, doing them one at time allows us to have the nice progress output (like we showcased in easylstn) and in case of any failure we only skip the dependencies with an actual problem vs all of them. |
This happens because of the NPM registry connections are strictly related to this since most of the time that connection is the slowest part of the process. The previous statement is proven by the fact that this happens locally but not on the action. Most of the times 60 seconds are more than enough on the action but not locally. To improve this, I propose to have a better "progress tracker" that prints the errors and shows "where we are" while processing the request. |
@fntlnz the proposed solution in #187 was tested for the earlier case, and it is working now! so this solution would solve our issue for now. |
@jadoonf the one in #187 is not a solution to this problem, even if it gives you the perception of solving it... The problem here is that the default I see 2 separate topics here:
So, as a recap: this issue is easily solved without code changes just by raising the timeout (eg., |
Describe the bug
Running
lstn scan
with this package.json fails without any output locally.However, the same project works fine with the listendev/action@scan action (logs)
Please include:
Steps to reproduce the behavior
lstn scan .
Expected vs actual behavior
Instead of returning verdicts, it fails without any output in the local terminal.
The text was updated successfully, but these errors were encountered: