Closed akoeplinger closed 1 year ago
➜ msquic git:(update-to-9.0) darc add-default-channel --channel ".NET 9" --branch refs/heads/main --repo https://github.com/dotnet/msquic
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
Non-continuable HTTP 401 error encountered while making request
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.DotNet.DarcLib.HttpRequestManager.ExecuteAsync(Int32 retryCount) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Helpers/HttpRequestManager.cs:line 86
fail: Microsoft.DotNet.Darc.Operations.Operation[0]
Error: Failed to add a new default channel association.
Microsoft.DotNet.DarcLib.DarcAuthenticationFailureException: Failure to authenticate: Response status code does not indicate success: 401 (Unauthorized).
Funny that I have rights to remove, but not to add @akoeplinger 😆
Update Maestro default channel configuration for main to the .NET 9 channel
@akoeplinger @ViktorHofer can you help with this please? I don't have the rights (see above). Or am I doing something wrong?
You need to do a darc authenticate
first.
Curious, did removing the default channel actually work without auth or did it just not print an error? 😄
It did remove stuff, I checked :D I think I had the auth from before, at least I had darc toked from 2 years ago listed (when I went to create a new one). But maybe addition needs either gh or azdo token as well
Subscriptions and channels are cleaned up:
➜ ~ darc get-default-channels --source-repo msquic
(5334) https://github.com/dotnet/msquic @ main -> .NET 9
➜ ~ darc get-subscriptions --source-repo msquic
https://github.com/dotnet/msquic (.NET 9) ==> 'https://github.com/dotnet/runtime' ('main')
- Id: 52be7100-09fc-419e-e3a1-08dbf5a42f57
- Update Frequency: EveryDay
- Enabled: True
- Batchable: True
- Merge Policies:
AllChecksSuccessful
ignoreChecks =
[
"WIP",
"license/cla",
"Build Analysis",
"runtime-coreclr superpmi-diffs",
"runtime-coreclr superpmi-replay",
"runtime-coreclr jitstress-isas-avx512",
"runtime-libraries enterprise-linux"
]
NoRequestedChanges
➜ ~
The following needs to be done
.NET 9
channelI also noticed that https://github.com/dotnet/msquic/blob/main/FLOW.md is outdated since there are more branches and different msquic versions now. --> in PR https://github.com/dotnet/msquic/pull/157
Contributes to https://github.com/dotnet/runtime/issues/92502
/cc @dotnet/ncl