Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 11, 2023

Backport of #91520 to release/8.0

/cc @simonrozsival

Customer Impact

The code in HttpClientHandler.AnyMobile.cs produces an unactionable trimming warning when compiled with ILC. Since we are shipping NativeAOT support for iOS in .NET 8, any time customers would use HttpClientHandler in their apps, they would see these warnings in their build outputs.

Testing

Manually tested with xamarin/xamarin-macios .NET 8 RC1.

Risk

Low. This change is just refactoring of existing code but touches the logic that dynamically calls into Microsoft macOS/iOS/tvOS/Android and there aren't any CI tests that would catch any regressions before this change is consumed by the downstream repositories so the change can only be tested manually.

@ghost ghost added the area-System.Net.Http label Sep 11, 2023
@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #91520 to release/8.0

/cc @simonrozsival

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

@marek-safar marek-safar added this to the 8.0.0 milestone Sep 11, 2023
@simonrozsival simonrozsival added os-android os-ios Apple iOS os-tvos Apple tvOS os-maccatalyst MacCatalyst OS labels Sep 11, 2023
@ghost
Copy link

ghost commented Sep 11, 2023

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #91520 to release/8.0

/cc @simonrozsival

Customer Impact

The code in HttpClientHandler.AnyMobile.cs produces an unactionable trimming warning when compiled with ILC. Since we are shipping NativeAOT support for iOS in .NET 8, any time customers would use HttpClientHandler in their apps, they would see these warnings in their build outputs.

Testing

Manually tested with xamarin/xamarin-macios .NET 8 RC1.

Risk

Low. This change is just refactoring of existing code but touches the logic that dynamically calls into Microsoft macOS/iOS/tvOS/Android and there aren't any CI tests that would catch any regressions before this change is consumed by the downstream repositories so the change can only be tested manually.

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Net.Http, os-android, os-ios, os-tvos, os-maccatalyst

Milestone: 8.0.0

@carlossanlop
Copy link
Contributor

Needs M2 approval so we can add the servicing-approved label. @marek-safar / @steveisok PTAL.

@carlossanlop carlossanlop added the Servicing-approved Approved for servicing release label Sep 12, 2023
@carlossanlop carlossanlop merged commit 0f3d1ed into release/8.0 Sep 12, 2023
@carlossanlop carlossanlop deleted the backport/pr-91520-to-release/8.0 branch September 12, 2023 17:22
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http os-android os-ios Apple iOS os-maccatalyst MacCatalyst OS os-tvos Apple tvOS Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants