-
Notifications
You must be signed in to change notification settings - Fork 139
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
Make SecurityTests' timeout configurable #509
Comments
The timeout seems to be hardcoded in [analysis.go] (https://github.com/globocom/huskyCI/blob/master/client/analysis/analysis.go)
Changing this should suffice perhaps. I would like to take it up! |
Great catch, @raydwaipayan! I will be very happy to review any PR regarding this one! :) |
Great thanks! I will send in a PR once done. |
@rafaveira3 One problem I am facing is that the Timeout times are hardly coupled with security tests currenty.
This config is only loaded once, so overwriting it's values may cause further problems. I was looking at modifying the Repository type like this:
And probably override the security test timeouts for that repo temporarily to take the new What do you think of this? |
Motivation
We received this feedback from huskyCI users (thanks, @igorfernandes 😃) that suggests that the analysis could have a timeout configurable. Some repositories are "very large" take too long to finish, which impacts their CI somehow.
It would be great if
We add new logic to let developers set this on their side, and not from the hardcoded the API
config.yaml
.What we expect
There are a few ways we can take this issue and a start suggestion is to add a new environment variable to the client code, as exemplified below:
Tips
The text was updated successfully, but these errors were encountered: