-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Custom nuget-feed no longer used, breaking package updates #11525
Comments
Same here, for all projects with packages referenced in a private repository, since sometime last week. |
I have seen the "NU1101" error you mention months ago. The "dependency_file_not_found" error however started occurring for me as well a few days ago. #11520 |
I also receiving the same error on my Dependabot weekly job now. |
@sachin-sandhu or @SeanFeldman or @brettfo can you take a look on that, please? It starts failing from v0.296.0. |
Chiming in to say we're also experiencing it. Our packages are hosted at Excerpt of our logs, if it helps
|
Seems to occur at the same time as #11520 |
I'm also experiencing the same issue, no changes were made, but the jobs started failing |
@sachin-sandhu or @SeanFeldman or @brettfo any update on that? |
We're having exactly the same issue with an almost identical setup to @chris-smith-zocdoc. The issue appears to have started on the 4th of February. Nothing has changed in our Dependabot config recently. |
Can confirm this is only occurring on repositories of ours with private registries (using both private and public registries together), other repositories are fine if they use only public registries. All our repositories are Private. |
This is something I've seen in some internal Microsoft logs recently, but I haven't been able to repro it locally. Does anybody have a log file of this happening in a public repo? It appears that the NuGet tooling sometimes doesn't find or doesn't honor The next step of the failure is that if a restore operation fails, we have no idea what packages were used by a |
Here's a very minimal reproduction using a GitHub NuGet store: Dependabot CLI works just fine, here's the log: |
Encountering the same issue with my projects. Receiving a |
Please can you react ("👍 ") to the issue as they use that to gauge the impact |
I think I found it! I thought the casing of the file The reason dependabot might fail is because it runs in a Linux container with a case-sensitive filesystem and if a customer's repo is only ever built on Windows, then the file casing doesn't matter. The fix will be to normalize all |
Is there an existing issue for this?
Package ecosystem
nuget
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
Our repos have multiple csproj files (under various subfolders like src/ and test/) and Directory.Build.props at the root
dependabot.yml content
Updated dependency
No response
What you expected to see, versus what you actually saw
On Feb 4th we starting seeing dependabot failures reporting "Dependabot couldn't find any dependency files in the directory"
Reading the logs however, you can see that dependabot is no longer accessing our custom nuget feed, and instead using nuget.org. This obviously doesn't work for us as our internal packages are only on our internal feed.
Eventually in the logs you see errors like
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: