From ac2d495deec4559fc1fef9f7be03f5e28537fa19 Mon Sep 17 00:00:00 2001 From: Logan Bussell Date: Mon, 19 Oct 2026 08:59:18 -0700 Subject: [PATCH 1/2] Update cryptography XML dependency Pin System.Security.Cryptography.Xml to the first patched 8.0 release. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0ead6371-ff39-4f04-9e1b-4b4e64df2459 --- eng/update-dependencies/update-dependencies.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/update-dependencies/update-dependencies.csproj b/eng/update-dependencies/update-dependencies.csproj index aed2bd24d9..8d287e46ed 100644 --- a/eng/update-dependencies/update-dependencies.csproj +++ b/eng/update-dependencies/update-dependencies.csproj @@ -33,5 +33,6 @@ + From f369496799f503842acf46e0d149272b80337bb2 Mon Sep 17 00:00:00 2001 From: Logan Bussell Date: Mon, 19 Oct 2026 10:06:34 -0700 Subject: [PATCH 2/2] Update DarcLib dependencies Upgrade DarcLib and its direct dependency floors, and adapt to the current authentication, telemetry, and pull request APIs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0ead6371-ff39-4f04-9e1b-4b4e64df2459 --- eng/update-dependencies/AzdoAuthProvider.cs | 2 +- eng/update-dependencies/Git/RemoteGitRepoHelper.cs | 4 ++-- eng/update-dependencies/Program.cs | 4 +++- eng/update-dependencies/update-dependencies.csproj | 9 ++++----- tests/UpdateDependencies.Tests/TempRepo.cs | 2 ++ 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/eng/update-dependencies/AzdoAuthProvider.cs b/eng/update-dependencies/AzdoAuthProvider.cs index 980f527050..2f4c56c8dd 100644 --- a/eng/update-dependencies/AzdoAuthProvider.cs +++ b/eng/update-dependencies/AzdoAuthProvider.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Maestro.Common.AzureDevOpsTokens; +using Microsoft.DotNet.Internal.AzureDevOps.Authentication; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.Services.Common; diff --git a/eng/update-dependencies/Git/RemoteGitRepoHelper.cs b/eng/update-dependencies/Git/RemoteGitRepoHelper.cs index ac6c42adaf..3491b5f183 100644 --- a/eng/update-dependencies/Git/RemoteGitRepoHelper.cs +++ b/eng/update-dependencies/Git/RemoteGitRepoHelper.cs @@ -48,8 +48,8 @@ public async Task CreatePullRequestAsync(PullRequestCreationInfo request "Creating pull request '{PrTitle}' from branch {PrHeadBranch} to {PrBaseBranch}", darcPullRequest.Title, darcPullRequest.HeadBranch, darcPullRequest.BaseBranch); - var pullRequestApiUrl = await _remoteGitRepo.CreatePullRequestAsync(RemoteUrl, darcPullRequest); - var pullRequestInfo = await GetPullRequestInfoAsync(pullRequestApiUrl); + var pullRequestInfo = await _remoteGitRepo.CreatePullRequestAsync(RemoteUrl, darcPullRequest); + var pullRequestApiUrl = pullRequestInfo.Url; _logger.LogInformation( "Created pull request {PullRequestTitle} at {PullRequestUrl}", diff --git a/eng/update-dependencies/Program.cs b/eng/update-dependencies/Program.cs index 892ae79006..66e248d453 100644 --- a/eng/update-dependencies/Program.cs +++ b/eng/update-dependencies/Program.cs @@ -3,7 +3,7 @@ using System.CommandLine; using Maestro.Common; -using Maestro.Common.AzureDevOpsTokens; +using Maestro.Common.Telemetry; using Microsoft.DotNet.DarcLib; using Microsoft.DotNet.DarcLib.Helpers; using Microsoft.DotNet.Docker.UpdateDependencies; @@ -11,6 +11,8 @@ using Microsoft.DotNet.Docker.UpdateDependencies.Git; using Microsoft.DotNet.Docker.UpdateDependencies.Sync; using Microsoft.DotNet.Docker.UpdateDependencies.Updaters; +using Microsoft.DotNet.Internal.AzureDevOps.Authentication; +using Microsoft.DotNet.Internal.Credentials; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; diff --git a/eng/update-dependencies/update-dependencies.csproj b/eng/update-dependencies/update-dependencies.csproj index 8d287e46ed..f02a06cf5d 100644 --- a/eng/update-dependencies/update-dependencies.csproj +++ b/eng/update-dependencies/update-dependencies.csproj @@ -24,15 +24,14 @@ - + - - + + - + - diff --git a/tests/UpdateDependencies.Tests/TempRepo.cs b/tests/UpdateDependencies.Tests/TempRepo.cs index 5585c64ab8..dc139e466b 100644 --- a/tests/UpdateDependencies.Tests/TempRepo.cs +++ b/tests/UpdateDependencies.Tests/TempRepo.cs @@ -2,8 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using Maestro.Common; +using Maestro.Common.Telemetry; using Microsoft.DotNet.DarcLib; using Microsoft.DotNet.DarcLib.Helpers; +using Microsoft.DotNet.Internal.Credentials; using Microsoft.Extensions.Logging; namespace UpdateDependencies.Tests;