Skip to content

Restore chaos65204782cs as a standalone JIT test - #133039

Open
steveisok wants to merge 1 commit into
mainfrom
steveisok-fix-mono-minifullaot-chaos-test
Open

Restore chaos65204782cs as a standalone JIT test#133039
steveisok wants to merge 1 commit into
mainfrom
steveisok-fix-mono-minifullaot-chaos-test

Conversation

@steveisok

Copy link
Copy Markdown
Member

Summary

PR #132167 compiled chaos65204782cs.cs into both merged JIT.Generics runners. Mono FullAOT rejects its recursive generic metadata, causing the entire runners to fail AOT compilation.

Restore the dedicated test project and:

  • run it process-isolated in normal configurations
  • exclude only this test from Mono MiniFullAOT/LLVMFullAOT
  • keep both merged JIT.Generics runners enabled for FullAOT coverage

The standalone project remains referenced by the PdbOnly runner so it participates in normal test execution.

Validation

MSBuild evaluation confirmed:

  • normal builds discover one runnable process-isolated test
  • Mono MiniFullAOT disables only the standalone project
  • both merged runners remain enabled

The full build was not run because the pinned SDK was unavailable from its feeds.

Addresses #132942 without closing it, since the issue also tracks the underlying Mono AOT recursion failure.

Note

This pull request description was generated with GitHub Copilot.

Fixes: #132942

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 1, 2026 19:28
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 1, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

Review tier: Lite
Findings: None

What changed in this PR

This PR moves chaos65204782cs out of the merged JIT.Generics runner assemblies and restores it as a standalone, process-isolated test project that can be selectively excluded from Mono FullAOT variants without disabling the merged runners.

Changes:

  • Remove Coverage\chaos65204782cs.cs from the merged runner compile lists.
  • Add a standalone Coverage\chaos65204782cs.csproj marked RequiresProcessIsolation and MonoAotIncompatible.
  • Reference the standalone project from the JIT.Generics PdbOnly runner via MergedWrapperProjectReference.
File Description
src/​tests/​JIT/​Generics/​JIT.Generics.csproj Stops compiling chaos65204782cs.cs into the merged runner; adds a wrapper project reference to build it as an out-of-process test.
src/​tests/​JIT/​Generics/​JIT.Generics_ro.csproj Stops compiling chaos65204782cs.cs into the optimized merged runner.
src/​tests/​JIT/​Generics/​Coverage/​chaos65204782cs.csproj Reintroduces chaos65204782cs as a standalone process-isolated test, marked MonoAotIncompatible for Mono AOT variants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci-scan] Build break: Mono MiniFullAOT compile of JIT.Generics fails with MSB3077 (Recursive type definition detected)

2 participants