Skip to content

Install the GA .NET 10 SDK in CI, not the stale preview - #2367

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
ci/use-the-ga-dotnet-sdk
Nov 4, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
ci/use-the-ga-dotnet-sdk

Conversation

@Rafael-SOWNet

Copy link
Copy Markdown
Member

The three AngouriMathCpp jobs started failing at restore today, on #2366 and on every run after it:

error NU1903: Warning As Error: Package 'Microsoft.DotNet.ILCompiler' 10.0.13 has a known high severity vulnerability, https://github.com/advisories/GHSA-p3jp-9v83-76w9

The advisory came out on 2026-11-03 and is patched in 10.0.14. The workflows pinned no version. Each asked setup-dotnet for 10.x with dotnet-quality: 'preview', which dates from before .NET 10 shipped. That quality now resolves to 10.0.100-rc.2.25502.107, so the build ran on the newer SDK already on the runner image, and that SDK carries ILCompiler 10.0.13. Master's C++ build at 09:41 passed. The advisory reached the runner between that run and #2366's at 10:22.

This drops dotnet-quality: 'preview' from all 21 setup steps in 18 workflows. 10.x at the default GA quality resolves to SDK 10.0.403, which carries 10.0.14. The diff only removes those lines.

🤖 Generated with Claude Code

Every workflow asked setup-dotnet for '10.x' with dotnet-quality 'preview',
left from before .NET 10 was released. That quality now resolves to
10.0.100-rc.2, so the SDK that builds is whichever newer one the runner
image carries, and its ILCompiler is 10.0.13. GHSA-p3jp-9v83-76w9
(published 2026-11-03) covers ILCompiler < 10.0.14, and the C++ export
publishes with PublishAot and treats NU1903 as an error, so the three
AngouriMathCpp jobs fail at restore on every run since. The default GA
quality resolves '10.x' to SDK 10.0.403, which carries 10.0.14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rafael-SOWNet Rafael-SOWNet added this to the 2.7.0 milestone Nov 4, 2026
@Rafael-SOWNet Rafael-SOWNet moved this from Todo to In review in AngouriMath Nov 4, 2026
@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.78%. Comparing base (984671d) to head (e3e73fd).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2367   +/-   ##
=======================================
  Coverage   86.78%   86.78%           
=======================================
  Files         312      312           
  Lines       68861    68861           
  Branches    20066    20066           
=======================================
+ Hits        59761    59762    +1     
+ Misses       4911     4909    -2     
- Partials     4189     4190    +1     
Flag Coverage Δ
cpp 37.77% <ø> (ø)
csharp 87.32% <ø> (+<0.01%) ⬆️
fsharp 32.97% <ø> (ø)
interactive 40.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rafael-SOWNet
Rafael-SOWNet merged commit 735b58d into master Nov 4, 2026
41 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in AngouriMath Nov 4, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the ci/use-the-ga-dotnet-sdk branch November 4, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant