Skip to content

Limit NuGet Dependabot to discovery project - #68351

Merged
wtgodbe merged 1 commit into
dotnet:mainfrom
wtgodbe:fix/dependabot-discovery-only
Aug 11, 2026
Merged

wtgodbe merged 1 commit into
dotnet:mainfrom
wtgodbe:fix/dependabot-discovery-only

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

Limits NuGet Dependabot to eng/tools/DependabotDiscovery instead of scanning every project in the repository.

The latest update run timed out after 55 minutes while performing hundreds of individual project restores: https://github.com/dotnet/aspnetcore/actions/runs/31388752343. The exclude paths added in #68171 were present, but Dependabot continued restoring test, sample, testasset, perf, and benchmark projects.

The discovery project added in #68012 represents the non-Maestro dependency update surface and is kept synchronized with eng/Dependencies.props by CodeCheck.ps1.

Copilot AI lite review requested due to automatic review settings August 11, 2026 17:29
@wtgodbe
wtgodbe requested a review from a team as a code owner August 11, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s Dependabot configuration to constrain NuGet dependency discovery to the dedicated eng/tools/DependabotDiscovery project, avoiding repository-wide project restores that can exceed Dependabot’s job time limits.

Changes:

  • Restricts the NuGet update configuration from scanning multiple directories (including /) to scanning only /eng/tools/DependabotDiscovery.
  • Removes the now-unneeded exclude-paths block that attempted (but didn’t fully prevent) expensive restores when scanning from the repo root.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@wtgodbe
wtgodbe merged commit a55bb8b into dotnet:main Aug 11, 2026
12 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants