Repository navigation
Disable CustomReflectionContextExamples.AddCustomAttribute on NativeAOT via existing tracking issue - #129550
Merged
Conversation
Contributor
|
Tagging subscribers to this area: @steveisok, @dotnet/area-system-reflection |
Co-authored-by: MichalStrehovsky <[email protected]>
Copilot
AI
changed the title
[WIP] Update System.Reflection.Context tests to disable failing NativeAOT test
Disable Jun 18, 2026
CustomReflectionContextExamples.AddCustomAttribute on NativeAOT via existing tracking issue
MichalStrehovsky
marked this pull request as ready for review
June 18, 2026 01:32
Member
|
@dotnet/ilc-contrib could someone have a look please? the new test is failing all the native AOT libs legs. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the System.Reflection.Context test suite to skip the CustomReflectionContextExamples.AddCustomAttribute example test when running under NativeAOT, using the existing [ActiveIssue] + PlatformDetection.IsNativeAot pattern already present in this test area.
Changes:
- Added a NativeAOT-only
[ActiveIssue]annotation toCustomReflectionContextExamples.AddCustomAttribute()to suppress a newly failing NativeAOT case while leaving non-NativeAOT behavior unchanged.
jkotas
approved these changes
Jun 18, 2026
Member
|
/ba-g arm64 Windows helix testing is known to be dead |
Open
3 tasks
eiriktsarpalis
pushed a commit
that referenced
this pull request
Jul 15, 2026
…eAOT via existing tracking issue (#129550) This updates `System.Reflection.Context` tests to suppress a newly failing NativeAOT case under the existing tracking issue pattern already used in this test area. The change is scoped to a single test and keeps behavior unchanged on non-NativeAOT runtimes. - **Scope** - Added a NativeAOT-only `ActiveIssue` annotation to `CustomReflectionContextExamples.AddCustomAttribute` in: - `/home/runner/work/runtime/runtime/src/libraries/System.Reflection.Context/tests/CustomReflectionContext.Examples.cs` - **Pattern alignment** - Reused the same issue and gating expression already used by related tests in `CustomReflectionContextTests.cs` (`#73356` + `PlatformDetection.IsNativeAot`). - **Code change** ```csharp [Fact] [ActiveIssue("#73356", typeof(PlatformDetection), nameof(PlatformDetection.IsNativeAot))] public static void AddCustomAttribute() ``` --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MichalStrehovsky <[email protected]>
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.
This updates
System.Reflection.Contexttests to suppress a newly failing NativeAOT case under the existing tracking issue pattern already used in this test area. The change is scoped to a single test and keeps behavior unchanged on non-NativeAOT runtimes.Scope
ActiveIssueannotation toCustomReflectionContextExamples.AddCustomAttributein:/home/runner/work/runtime/runtime/src/libraries/System.Reflection.Context/tests/CustomReflectionContext.Examples.csPattern alignment
CustomReflectionContextTests.cs(#73356+PlatformDetection.IsNativeAot).Code change