Repository navigation
Conversation
Every Linux and macOS job installed Mono, but nothing runs it. #4545 added it for the net4-console integration test, which ran the .NET Framework app through Mono there. Two weeks later #4461 made that test Windows-only, and the logs show it skipped on Linux and macOS. The .NET Framework unit tests only build on Windows too. On Ubuntu the install downloads 53 MB from the package mirror. On October 23 that download took 15 to 21 minutes in 4 linux-x64 legs and 1 Android device test job. The chmod after it only repaired the /usr/share/dotnet permissions that installing Mono had changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5794 +/- ##
==========================================
- Coverage 76.13% 76.12% -0.02%
==========================================
Files 528 528
Lines 19579 19579
Branches 3829 3829
==========================================
- Hits 14906 14904 -2
- Misses 3791 3792 +1
- Partials 882 883 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Oct 23, 2026
Member
Author
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.
Every Linux and macOS job that uses Setup Environment installs Mono, but nothing runs it anymore.
Ensure System.Reflection.Metadata is not missing. It runs thenet4-consoleapp, which on Linux and macOS goes through Mono.-Skip:(!$IsWindows). In the logs of ci: measure the round 4 CI changes together (do not merge) #5788 it shows as skipped on linux-x64, linux-arm64 and macOS, and nothing else launchesmono.net48on Windows. The crash tests start the crashable app throughdotneton every other target.On Ubuntu the install downloads 53 MB from
azure.archive.ubuntu.com. On October 23 that download crawled at 43 to 59 kB/s and took 15 to 21 minutes in 4 linux-x64 legs and 1 Android device test job. It made linux-x64 the slowest leg on #5791, and an Android run took 41 minutes on #5793.This PR removes both Mono steps from Setup Environment:
apt install mono-develon Ubuntu, together with thechmodthat only repaired the/usr/share/dotnetpermissions Mono's install had changed,brew install monoon macOS.In #5788's logs the Mono step took 15 to 18 seconds on macOS jobs, 30 to 55 seconds on Linux jobs, and 403 seconds on its linux-x64 leg. So this saves under a minute on a good run, and up to 20 minutes when the mirror is slow.
Measured on the first run. Every job passed, so
setup-dotnetdoesn't need thechmod.#5795 moves the Android test jobs from the
ubuntu-latest-4-coreslarger runner toubuntu-latest.The build workflow took 49.4 minutes on this run, because win-arm64 drew a slow host: its Build step took 13 minutes, against about 8 normally. That's unrelated to this change.
#skip-changelog