[main] Source code updates from dotnet/dotnet - #15025
Conversation
Updated Dependencies: Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.CMake.Sdk, Microsoft.DotNet.GenFacades, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.RemoteExecutor, Microsoft.DotNet.XUnitV3Extensions (Version 11.0.0-beta.26424.125 -> 11.0.0-beta.26451.109) Microsoft.NET.Sdk.IL, Microsoft.NETCore.App.Ref, Microsoft.NETCore.ILAsm, Microsoft.NETCore.ILDAsm, Microsoft.Win32.SystemEvents, runtime.win-x64.Microsoft.NETCore.ILAsm, System.CodeDom, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Nrbf, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Runtime.Serialization.Formatters, System.Text.Encodings.Web, System.Text.Json, System.Windows.Extensions, runtime.win-x86.Microsoft.NETCore.ILAsm (Version 11.0.0-rc.1.26424.125 -> 11.0.0-rc.1.26451.109) [[ commit created by automation ]]
|
Note VMR PRs included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
The build failed with |
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
I have disabled code coverage for net481 project to fix this issue. With latest update, code coverage host is not able to load System.Runtime v8. |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #15025 +/- ##
====================================================
- Coverage 77.31435% 37.24166% -40.07269%
====================================================
Files 3265 246 -3019
Lines 644447 9774 -634673
Branches 47631 1029 -46602
====================================================
- Hits 498250 3640 -494610
+ Misses 142509 5970 -136539
+ Partials 3688 164 -3524
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Issue: Debug/x64 PR builds fail at test execution, every test in net481 leg throwing: TypeInitializationException : The type initializer for Only this leg is affected because build-PR.yml enables Coverage solely for public Debug x64. Root cause Commit #14371 bumped Upstream bug, not intentional: coverlet#1818. Temporary fix: Disable code coverage for net481 target. Directory.Build.props : false Tests still build and run; only .NET Framework coverage collection is skipped. No real loss — that leg was producing a red build and zero valid data. Change needed once coverlet fixes this Every coverlet release after 6.x is still broken for .NET Framework (8.0.1 → no coverage reported, #1842; 10.0.1 → different TypeInitializationException , #2009). Wait for coverlet #1985 (silent zero coverage) and #2010 (10.0.1 tracker crash) to ship, then:
|
|
Logged bug #15030 to track this issue. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
[main] Source code updates from dotnet/dotnet - Disabiling code coverage for net481. - Updated comment.
Note
This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/dotnet
Updated Dependencies
Associated changes in source repos
Diff the source with this PR branch
Microsoft Reviewers: Open in CodeFlow