From e63139c4f540af83bc968561404c405903848a0f Mon Sep 17 00:00:00 2001 From: Parker Bibus Date: Thu, 4 Jun 2026 12:26:31 -0700 Subject: [PATCH] Disable Crossgen2 Json CG2 composite job The CG2 composite profile for the Json crossgen2 scenario consistently hits ILCompiler.CodeGenerationFailedException (IndexOutOfRangeException in CorInfoImpl.HandleToModuleToken) during publish, and on Windows runs has caused crank to hang, blocking the rest of the jobs in benchmarks-ci-01 and benchmarks-ci-02. Disable it via its condition until the underlying crossgen2 issue is resolved. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- build/crossgen2-scenarios.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/crossgen2-scenarios.yml b/build/crossgen2-scenarios.yml index 7cdb757b4..fc9cd7c2f 100644 --- a/build/crossgen2-scenarios.yml +++ b/build/crossgen2-scenarios.yml @@ -33,9 +33,12 @@ parameters: - displayName: Default arguments: --property profile=default condition: 'true' + # Disabled: consistently fails with ILCompiler.CodeGenerationFailedException (IndexOutOfRangeException + # in CorInfoImpl.HandleToModuleToken) during the crossgen2 composite publish, and on Windows runs has + # caused crank to hang, blocking the rest of the jobs in the pipeline. - displayName: CG2 composite # since 6.0-preview4 CG2 is the default when PublishReadyToRun=true is set arguments: --property profile=composite --application.buildArguments \"/p:PublishReadyToRun=true /p:PublishReadyToRunComposite=true /p:PublishReadyToRunUseCrossgen2=true \" - condition: 'true' + condition: 'false' - displayName: CG2 non-composite # /p:PublishReadyToRunComposite=false is the default arguments: --property profile=non-composite --application.buildArguments \"/p:PublishReadyToRun=true /p:PublishReadyToRunUseCrossgen2=true /p:PublishReadyToRunComposite=false\" condition: 'true'