Repository navigation
ci: install only the .NET SDK in the Unsupported AOT jobs - #5774
Merged
Merged
Conversation
The Unsupported AOT jobs run after the whole build-sentry matrix, so their time adds to every build. They only publish a console app against the packages from the macOS job, but they ran the full Setup Environment with Java, the Android SDK, Mono and workloads. version7 dropped that in #5746, and this brings the same job to main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5774 +/- ##
=======================================
Coverage 76.12% 76.12%
=======================================
Files 528 528
Lines 19579 19579
Branches 3829 3829
=======================================
Hits 14904 14904
Misses 3792 3792
Partials 883 883 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The two Unsupported AOT jobs start only after every
.NETleg of the build workflow has finished, so whatever they take adds to every PR's build time. They publish one console app with Native AOT against the packages from the macOS job, but onmainthey still run the full Setup Environment: Java, the Android SDK, Mono, several .NET SDKs and the workloads. #5746 replaced that with a plain .NET SDK install onversion7, and this PR brings the same job tomain.global.json, set the twoDOTNET_variables the environment action used to set, and install the 32-bit ARM toolchain forlinux-armthemselves. That step moves out of the environment action, since no other job uses it.version7's, except for the Windows runner label and the container image pin thatversion7needs for .NET 11 previews. That should keep the next merge between the branches clean.On
version7, the build workflow now finishes 1.9 minutes after its last.NETleg, at the median of 13 PR runs. Onmainit's 8.2 minutes over 20 PR runs, and the win-x86 job alone takes 8.1. So I expect about 6 minutes off everymainbuild.On this PR, the build workflow finished 1.8 minutes after its last
.NETleg:mainat the base commit, run 39744888536.main, because the macOS Build step took 40.0 minutes on this runner. Its median onmainis 32.8.The same AOT tests run on both runtimes, with the same Pester results as the base run: 2 passed on linux-arm, and 1 passed and 1 skipped on win-x86.
#skip-changelog