Skip to content

Automate version updates for NuGet CLI, reference assemblies, and ServiceMonitor - #1322

Merged
Logan Bussell (lbussell) merged 6 commits into
microsoft:mainfrom
lbussell:lbussell/automate-updates
Oct 15, 2026
Merged

Logan Bussell (lbussell) merged 6 commits into
microsoft:mainfrom
lbussell:lbussell/automate-updates

Conversation

@lbussell

Copy link
Copy Markdown
Collaborator

This PR is part of #1076. update-dependencies can now automatically updates the versions of:

  • NuGet CLI
  • .NET Framework reference assemblies
  • IIS ServiceMonitor

It also now parses HTML directly instead of using Playwright to resolve download URLs from the Microsoft Update Catalog. It is much faster and doesn't require a Playwright browser install.

Add a small tools.json client and a NuGetVariableUpdater that rewrites the
nuget|version variable to the first ReleasedAndBlessed nuget.exe. Wire it
into update-dependencies as 'update-nuget [manifest]'.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f408eb74-08a1-4f02-9d5b-30e0bd0d7c6f
…blies version

Add a NuGet v3 feed client and a ReferenceAssembliesVariableUpdater that
rewrites referenceassemblies|version to the latest stable
Microsoft.NETFramework.ReferenceAssemblies package on the dotnet-public feed.
Wire it into update-dependencies as 'update-referenceassemblies [manifest]'.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f408eb74-08a1-4f02-9d5b-30e0bd0d7c6f
Add an Octokit client and a ServiceMonitorVariableUpdater that rewrites
servicemonitor|version to the latest stable IIS.ServiceMonitor release that
publishes ServiceMonitor.exe. Wire it into update-dependencies as
'update-servicemonitor [manifest]'.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f408eb74-08a1-4f02-9d5b-30e0bd0d7c6f
Each client had a single caller that only forwarded one method. Move that
logic into NuGetVariableUpdater and ServiceMonitorVariableUpdater.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f408eb74-08a1-4f02-9d5b-30e0bd0d7c6f
@lbussell
Logan Bussell (lbussell) requested a review from a team as a code owner October 14, 2026 20:53
Comment thread eng/update-dependencies/LcuVariableUpdater.cs Outdated
Require the Server title marker when selecting the 24H2 x64 Update Catalog result so Windows 11 packages are excluded.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f408eb74-08a1-4f02-9d5b-30e0bd0d7c6f
@lbussell
Logan Bussell (lbussell) merged commit 39fb582 into microsoft:main Oct 15, 2026
23 checks passed
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