Merge release/9.0 staging into release/9#125832
Merge release/9.0 staging into release/9#125832steveisok wants to merge 3 commits intorelease/9.0from
Conversation
#123661) Backport of #123485 to release/9.0-staging /cc @liveans Increasing RFC compliance for WebSocket ## Customer Impact RFC compliance ## Regression No ## Testing Manual verification + automated tests ## Risk Low, the change only affects non‑compliant WebSocket clients sending unmasked frames, which is explicitly disallowed by RFC 6455. No behavior change is expected for compliant clients. --------- Co-authored-by: Ahmet İbrahim Aksoy <aaksoy@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request updates the following dependencies [marker]: <> (Begin:077f423f-1332-4108-a2ea-08dcc66548e6) ## From https://github.com/dotnet/xharness - **Subscription**: [077f423f-1332-4108-a2ea-08dcc66548e6](https://maestro.dot.net/subscriptions?search=077f423f-1332-4108-a2ea-08dcc66548e6) - **Build**: [20260318.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=2929517) ([306735](https://maestro.dot.net/channel/2/github:dotnet:xharness/build/306735)) - **Date Produced**: March 18, 2026 9:51:17 AM UTC - **Commit**: [607b3de9cf2dbfec6734e686e68d2813b40b2b51](dotnet/xharness@607b3de) - **Branch**: [main](https://github.com/dotnet/xharness/tree/main) [DependencyUpdate]: <> (Begin) - **Dependency Updates**: - From [11.0.0-prerelease.26117.1 to 11.0.0-prerelease.26168.1][3] - Microsoft.DotNet.XHarness.CLI - Microsoft.DotNet.XHarness.TestRunners.Common - Microsoft.DotNet.XHarness.TestRunners.Xunit [3]: dotnet/xharness@0eeaa60...607b3de [DependencyUpdate]: <> (End) [marker]: <> (End:077f423f-1332-4108-a2ea-08dcc66548e6) --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Backport of #125544 to release/9.0-staging /cc @akoeplinger @wfurt --------- Co-authored-by: wfurt <tweinfurt@yahoo.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
|
Motivated by the AZL3 change. We need to make sure that gets through |
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
There was a problem hiding this comment.
Pull request overview
Merges release/9.0 staging into release/9, bringing in runtime/library fixes plus CI and dependency updates relevant to the 9.0 release branch.
Changes:
- System.Net.WebSockets: treat unmasked frames received by a server as a protocol error, with a new regression test and resource string.
- System.Net.Quic tests: add an Azure Linux 3 VM exclusion condition to multiple functional test classes.
- Engineering: update Linux build pool image demands to Azure Linux 3 and bump XHarness tool/dependency versions; remove an obsolete NuGet package source entry.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/libraries/System.Net.WebSockets/tests/WebSocketTests.cs | Adds test validating server-side handling of unmasked client frames. |
| src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/ManagedWebSocket.cs | Adds protocol validation for server receiving unmasked frames. |
| src/libraries/System.Net.WebSockets/src/Resources/Strings.resx | Adds localized error string for the new validation path. |
| src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs | Introduces IsNotAzureLinux3VM condition (with a commented ActiveIssue line). |
| src/libraries/System.Net.Quic/tests/FunctionalTests/*.cs | Applies IsNotAzureLinux3VM to QUIC functional test classes via ConditionalClass. |
| eng/pipelines/common/xplat-setup.yml | Switches Linux pool image demands to Azure Linux 3. |
| eng/Versions.props | Updates XHarness versions. |
| eng/Version.Details.xml | Updates XHarness dependency versions and SHAs. |
| NuGet.config | Removes a managed package source entry for dotnet-emsdk. |
| .config/dotnet-tools.json | Updates local XHarness tool version. |
|
|
||
| public static bool IsSupported => QuicListener.IsSupported && QuicConnection.IsSupported; | ||
| public static bool IsNotArm32CoreClrStressTest => !(CoreClrConfigurationDetection.IsStressTest && PlatformDetection.IsArmProcess); | ||
| //[ActiveIssue("https://github.com/dotnet/runtime/issues/123216")] |
There was a problem hiding this comment.
There's a commented-out [ActiveIssue(...)] line left in the source. Commented attributes tend to become stale and don't get picked up by test infrastructure; please either remove the commented line or reintroduce the skip using the actual [ActiveIssue] attribute (or another tracked skip mechanism) so the issue link is preserved in test results.
| //[ActiveIssue("https://github.com/dotnet/runtime/issues/123216")] |
No description provided.