Skip to content
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

[release/8.0] [iOS] Fix trimming warnings in HttpClientHandler.AnyMobile #91877

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

github-actions[bot]
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
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
Member

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
106 of 112 checks passed
@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.

4 participants