Repository navigation
Align NuGet and Dependabot cooldowns - #1128
DamianEdwards wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the NuGet dependency-update and restore changes.
No open issues 🎉
What changed in this PR
Aligns dependency updates with internal NuGet proxies’ seven-day availability delay while allowing developers to inherit their own package sources.
Changes:
- Adds a seven-day Dependabot cooldown and a matching minimum publish age for nuget.org.
- Enables inherited feeds and tolerates failed sources across application, test, and solution restores while keeping relevant warnings visible.
- Downgrades Scalar.AspNetCore to 3.2.0 for internal proxy availability.
| File | Description |
|---|---|
tests/Directory.Build.props |
Allows failed sources in the separate test-project property scope. |
nuget.config |
Enables inherited feeds, removes repository source mapping, sets minimum package age, and documents disabling nuget.org locally. |
Directory.Solution.props |
Allows failed sources during solution-level restore. |
Directory.Packages.props |
Downgrades Scalar.AspNetCore to 3.2.0. |
Directory.Build.props |
Allows failed sources and exempts relevant NuGet warnings from warnings-as-errors. |
.github/dependabot.yml |
Adds a seven-day cooldown for NuGet updates. |
Review effort: Balanced
| <Project> | ||
| <PropertyGroup> | ||
| <!-- Solution restore runs outside the project-level Directory.Build.props scope. --> | ||
| <RestoreIgnoreFailedSources>true</RestoreIgnoreFailedSources> |
There was a problem hiding this comment.
this is unfortunate. Is this the intended design here? Having to set it in 2 places?
|
I ran Build outputEach project's build step then repeats its same |
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
b9d11acb62ae0e253573f9a3adb9c95165ec6835↑ A clean restore with the user-disabled nuget.org source succeeded with default retry settings.
↓ Dependabot's live behavior has not been verified; an enabled, unreachable nuget.org source exceeded a 15-minute restore timeout with default retries.
Align dependency updates with the seven-day availability delay of internal NuGet proxies while allowing developers to inherit their own package sources.
Validation: Clean restore and build of
eShop.Web.slnfsucceeded using an empty packages directory with nuget.org unreachable and reduced retry count. A subsequent clean restore succeeded with default retries when nuget.org was disabled in user configuration. NuGet source and vulnerability-data warnings remain visible when the source is enabled but unreachable.