From ba4667ffea3106249e5bebe93cee0157dc04aae3 Mon Sep 17 00:00:00 2001 From: Widthdom Date: Mon, 1 Jun 2026 04:30:44 +0900 Subject: [PATCH] Add CI guard for release build analyzer regressions (#2791) --- .github/workflows/dotnet.yml | 4 ++++ changelog.d/unreleased/2791.internal.md | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 changelog.d/unreleased/2791.internal.md diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7d6caa88bb..ac3e8f7008 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -181,6 +181,10 @@ jobs: - name: Verify formatting run: dotnet format whitespace CodeIndex.sln --verify-no-changes --no-restore --verbosity minimal + - name: Verify Release solution build + if: matrix.os == 'ubuntu-latest' && matrix.test-framework == 'net8.0' + run: dotnet build CodeIndex.sln --configuration Release --no-restore -p:UseSharedCompilation=false + - name: Verify developer task wrapper if: matrix.os == 'ubuntu-latest' && matrix.test-framework == 'net8.0' run: make lint diff --git a/changelog.d/unreleased/2791.internal.md b/changelog.d/unreleased/2791.internal.md new file mode 100644 index 0000000000..810b76eea1 --- /dev/null +++ b/changelog.d/unreleased/2791.internal.md @@ -0,0 +1,15 @@ +--- +category: internal +issues: + - 2791 +affected: + - .github/workflows/dotnet.yml +--- + +## English + +- **CI now guards the Release solution build used to catch AOT analyzer regressions (#2791)** — the ubuntu net8.0 lane runs the documented Release solution build command with shared compilation disabled, so IL3050 regressions in JSON serialization call sites fail during CI instead of surfacing later in pre-PR validation. + +## 日本語 + +- **AOT analyzer 退行を検出する Release solution build を CI で検証するようにしました (#2791)** — ubuntu net8.0 lane で shared compilation を無効にしたドキュメント記載の Release solution build コマンドを実行し、JSON serialization call site の IL3050 退行が PR 前検証で後から見つかるのではなく CI 上で失敗するようにしました。