Repository navigation
[Tests] Remove obsolete Apple NativeAOT warning workaround - #37940
Merged
Merged
Conversation
Issue #19397 was closed after the template warnings were resolved, so allow the simulator NativeAOT build to enforce its default warning policy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 37f90cb9-27a1-41b7-b954-95bbbcc9e81e
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:04 — with
GitHub Actions
Inactive
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 37940Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 37940" |
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:05 — with
GitHub Actions
Inactive
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:06 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:08 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:09 — with
GitHub Actions
Inactive
jfversluis
temporarily deployed
to
copilot-pat-pool
August 28, 2026 12:09 — with
GitHub Actions
Inactive
jfversluis
marked this pull request as ready for review
August 28, 2026 13:15
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
kubaflo
approved these changes
Aug 28, 2026
Contributor
There was a problem hiding this comment.
Copilot review overview
Review tier: Lite
Findings: None
What changed in this PR
This PR updates the MAUI integration test suite by removing an obsolete NativeAOT build-property workaround for Apple simulator runs, restoring the default ILC warning behavior for that specific test path.
Changes:
- Removed
IlcTreatWarningsAsErrors=false(and its TODO linked to #19397) from the Apple NativeAOT simulator integration test build properties.
| File | Description |
|---|---|
| src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs | Removes the Apple NativeAOT simulator test workaround that disabled treating ILC warnings as errors. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description
Removes the
IlcTreatWarningsAsErrors=falseworkaround and its TODO from the Apple NativeAOT simulator integration test.The linked tracking issue, #19397, was closed after all template trimming warnings were resolved. The dedicated
AOTTemplateTest.PublishNativeAOTsuite also maintains an empty expected-warning baseline for Apple NativeAOT builds, so the simulator run should enforce the default ILC warning policy again.Validation
AppleTemplateTests.RunOniOS_MauiNativeAOTtest compiled and started on Windows, but Windows could not complete the Apple ILC phase because the iOS-simulator NativeAOT runtime pack was unavailable (MSB3030forSystem.Runtime.InteropServices.RuntimeInformation.dll).AOTTemplateTest.PublishNativeAOT(... win-arm64)proxy passed, including its assertion that the complete NativeAOT binlog warning list is empty.Apple-specific ILC/codegen and simulator execution require the macOS CI lanes and will be monitored on this draft PR.