Skip to content

[manual] Merge release/8.0-staging into release/8.0 #104929

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Jul 16, 2024

Conversation

carlossanlop
Copy link
Contributor

Merge commit.

fanyang-mono and others added 30 commits June 17, 2024 11:29
Co-authored-by: Kevin Jones <kevin@vcsjones.com>
* Update dotnet-pgo.md

Updates the instructions on how to install and use dotnet-pgo.

* Update docs/design/features/dotnet-pgo.md

---------

Co-authored-by: Steve Pfister <steveisok@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
…narrow non-breaking space characters (dotnet#103647)

* Backport of dotnet#103226 to release/8.0-staging
….Reflection (dotnet#103726)

Implements the API proposal detailed and approved in issue dotnet#101616. This new API will allow developers to change the entry assembly of their .NET apps on the fly, should they require it. One important scenario is app launchers. With the usage of this API, then functions like `GetEntryAssembly()` will return the right value, and thus we will be able to ensure the information is consistent and correct.
…otnet#103817)

Customers who want to create native static or shared libraries (aka library mode) for nativeaot targeting ios and android were blocked by an msbuild check in the mono workload target. This check assumes if you set the NativeLib property that you want mono's version of library mode and it will error out telling you to install a specific workload.

The fix adds an additional check for PublishAot != 'true' to prevent the error message from appearing when the customer wants nativeaot.
* Fix missing substitution (dotnet#103287)

* Update dependencies from https://github.com/dotnet/emsdk build 2024061.3 (dotnet#103291)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.7-servicing.24277.3 -> To Version 8.0.7-servicing.24310.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [release/8.0] Update dependencies from dotnet/emsdk (dotnet#103388)

* Update dependencies from https://github.com/dotnet/emsdk build 20240612.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.7-servicing.24310.3 -> To Version 8.0.7-servicing.24312.2

* Update dependencies from https://github.com/dotnet/emsdk build 20240612.2

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.7-servicing.24310.3 -> To Version 8.0.7-servicing.24312.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/emsdk build 20240613.1 (dotnet#103426)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.7-servicing.24312.2 -> To Version 8.0.7-servicing.24313.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* update ESRP Code Signing

---------

Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…dotnet#103578)

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240617.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.24271.1 -> To Version 8.0.0-alpha.0.24317.1

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240624.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.24271.1 -> To Version 8.0.0-alpha.0.24324.2

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…03.2 (dotnet#104378)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.7-servicing.24277.3 -> To Version 8.0.8-servicing.24353.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
…ion changes in cases involving a lot of sync-over-async (dotnet#103984)

* [8.0] Add a config flag to experiment with some work item prioritization changes in cases involving a lot of sync-over-async

Some services that use a lot of sync-over-async were seen to experience stalls due to some priority inversion issues in work items that get queued to the thread pool. For instance, a work item W1 queues another work item W2 to the global queue and blocks waiting for a task to complete, where W2 would need to run in order to complete the task, but W2 is queued behind a number of other work items that operate like W1, and this sometimes leads to long-duration stalls. This change adds an experimental config option that when enabled, enqueues some kinds of work items to a new low-priority global queue that is checked after all other global queues. This was seen to help in some cases.
Co-authored-by: Tanner Gooding <tagoo@outlook.com>
dotnet#104711)

* Use latest .NET version in HttpStress runs

* Revert sdk image changes

* Apply to sslstress as well
….5 (dotnet#104744)

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions
 From Version 8.0.0-beta.24266.3 -> To Version 8.0.0-beta.24360.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
"Port" the changes from dotnet#103788 to .NET 8.

We don't have the DFS tree, so enhance the topological sort that SSA uses
to detect cycles and backedges.

Use this info to stop searching for redundant zero inits once flow from
entry has entered a cycle.

Fixes dotnet#103477 (for .NET 8).
… down-level support if any parameters can't be marshalled (dotnet#104501)
…CertificateContext (dotnet#104541)

Backport of dotnet#103372 and dotnet#104016 to release/8.0-staging

## Customer Impact

- [X] Customer reported (dotnet#100602)
- [ ] Found internally

Customers developing Android apps are currently unable to use mutual TLS authentication in certain cases as the `SslStreamCertificateContext.Create(...)` method will fail to build an X509Chain instance if the certificate isn't trusted by the OS due to the limitations of the Android platform.

## Regression

- [ ] Yes
- [X] No

## Testing

Unit tests and manual testing on Android emulator.

## Risk

Low. The change is mostly limited to Android where this API doesn't currently work in many cases. 

---------

Co-authored-by: Tomas Weinfurt <tweinfurt@yahoo.com>
Co-authored-by: Vitek Karas <10670590+vitek-karas@users.noreply.github.com>
…08.2 (dotnet#104578)

Microsoft.SourceBuild.Intermediate.emsdk , Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100
 From Version 8.0.8-servicing.24353.2 -> To Version 8.0.8-servicing.24358.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
…e/8.0-to-release/8.0-staging

[automated] Merge branch 'release/8.0' => 'release/8.0-staging'
…dotnet#104893)

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240712.2

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.24324.2 -> To Version 8.0.0-alpha.0.24362.2

* Update dependencies from https://github.com/dotnet/hotreload-utils build 20240715.1

Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
 From Version 8.0.0-alpha.0.24324.2 -> To Version 8.0.0-alpha.0.24365.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
…ease/8.0-staging

[automated] Merge branch 'release/8.0' => 'release/8.0-staging'
)

* some logs

* debugging the adventure

* using the XSTATE_SUPPORTED macro

* use minipal getcpufeatures

* add conditional in MachExceptionInfo constructor

* fix whitespace and remove logs

* whitepace

* remove conditional checks and rely on Fallthrough

* remove uneeded dependencies

* Remove logging that should not be there

---------

Co-authored-by: Diag <diag@Toms-Mac-mini.lan>
Co-authored-by: Mikelle <mirogers@microsoft.com>
Co-authored-by: Jan Vorlicek <janvorli@microsoft.com>
)

* Microsoft.Extensions.Configuration.Binder

* Microsoft.Extensions.Configuration.FileExtensions

* System.Net.Http.WinHttpHandler

* System.Security.Cryptography.Xml

* System.Threading.Tasks.DataFlow

* Re-enable System.Net.Http.WinHttpHandler

* System.Text.Json

* Microsoft.Extensions.DependencyModel

* System.Formats.Asn1
@@ -5,7 +5,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was stayed enabled as we introduced another change this month.

Copy link

@vseanreesermsft vseanreesermsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@carlossanlop carlossanlop merged commit fb323df into dotnet:release/8.0 Jul 16, 2024
187 of 191 checks passed
@carlossanlop carlossanlop deleted the release/8.0-staging branch July 16, 2024 02:08
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-codeflow for labeling automated codeflow Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.