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
Valid version of a go
package throws unrecognized import path
error and breaks dependabot
#4423
Comments
Thanks for reporting this @jeffwidman. Do you happen to have a repo that we can reproduce this against? The We catch the error in these classes: dependabot-core/go_modules/lib/dependabot/go_modules/update_checker/latest_version_finder.rb Line 22 in 5db0e3f
|
Thanks @jurre, my employer probably prefers to keep repo paths/names semi-private, so I emailed you an example of a repo where we are seeing this error. Based on the code you pointed to above, it looks like somewhere in the chain is 404'ing... and sure enough:
What's weird is that
I agree this error is being emitted by native I won't have time for a few weeks to get re-spun-up with dependabot locally in order track down exactly which command invokation is throwing the error. Feel free to look into it if you get time. Once we know the exact |
I think this is because
|
Oh interesting, nice find @mctofu. I always forget about the permanence of that cache. Let me dig on this a little. |
Fixed upstream in layeh/radius#98. |
Saw this in our dependabot logs and from a quick glance it appears to be a bug in dependabot logic, not go tooling... but I could be wrong:
Looking at the logs, I see a little more info:
I poked through old PR's and it looks like typically this error happens when something 404's... but this appears to be a valid/reachable import path:
Any ideas on what the problem might be? Happy to help fix, but would appreciate a pointer on where to go...
The text was updated successfully, but these errors were encountered: