-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Raise config warning issue when lookups fail #2263
Comments
Problem: how to fix “false positive” results, eg registry temporarily returning incorrect responses. |
@rarkins should an issue be created for every failure, or use one central issue to report all found problems? |
I think I need more time to think about this one. Right now we treat npmjs and docker hub specially where I’d we detect a failure with their end (5xx errors, etc) then we abort the entire run so as not to end up with flip/flopping PRs. But for private registries it’s hard to know what to do. Right now we ignore if they fail and most users seem fine with this. Ideally though we could be more “deliberate” about handling failures such as letting users configure which registries are critical and which not. |
We could warn about successive failures, like checking this package failed 4 times in a row, and it used to be passing. |
Can you think of a way to do that using Renovate’s typically “stateless” approach? |
check PR history, for any PR of that package. |
I would prefer a more deterministic approach. The strict approach is:
In theory we could/should allow users to turn this off via config though. |
I'm thinking:
|
Warnings are displayed in the dependency dashboard now |
It's possible that some or all of a repository's private module lookups fail - and are hence not updated - but the users of that repository are unaware. For example this may be occurring now for many after npm reset everyone's tokens.
Idea: raise a config warning issue listing all failed lookups.
The only way to stop this issue coming back - apart from fixing authentication details - would be to add the packages to ignore using
ignoreDeps
or package rules.The text was updated successfully, but these errors were encountered: