From 433f7aeffea2a931f2315228882ceff3d8a5442a Mon Sep 17 00:00:00 2001 From: Shai Almog <67850168+shai-almog@users.noreply.github.com> Date: Wed, 28 Oct 2026 04:05:52 +0200 Subject: [PATCH] Initializr: Kotlin 2.2.10 so downloads build on JDK 25; e2e opts out of telemetry Every Initializr download pinned Kotlin 1.6.0, whose compiler crashes on JDK 25+ (IllegalArgumentException: 25) when the Kotlin profile is active. Bump to 2.2.10, the version the bastion/parley/reel samples already use. The shipped-download e2e reported its builds to the production funnel as new developers; export CN1_TELEMETRY=0. Add JDK 25 legs (KOTLIN, SKIRMISH) to the e2e matrix, since every JDK 17 leg was green while 25 was broken. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/initializr-e2e.yml | 16 ++++++++++++---- scripts/initializr/common/pom.xml | 2 +- .../common/src/main/resources/barebones-pom.xml | 2 +- .../common/src/main/resources/bastion-pom.xml | 2 +- .../common/src/main/resources/kotlin-pom.xml | 2 +- .../common/src/main/resources/parley-pom.xml | 2 +- .../common/src/main/resources/reel-pom.xml | 2 +- .../common/src/main/resources/savor-pom.xml | 2 +- .../common/src/main/resources/skirmish-pom.xml | 2 +- .../common/src/main/resources/wayline-pom.xml | 2 +- scripts/initializr/e2e-shipped.sh | 4 ++++ 11 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.github/workflows/initializr-e2e.yml b/.github/workflows/initializr-e2e.yml index 8693d9bdbeb..b6071be6086 100644 --- a/.github/workflows/initializr-e2e.yml +++ b/.github/workflows/initializr-e2e.yml @@ -38,22 +38,30 @@ concurrency: jobs: download: - name: ${{ matrix.template }} + name: ${{ matrix.template }} (JDK ${{ matrix.java }}) runs-on: ubuntu-24.04 timeout-minutes: 75 strategy: fail-fast: false matrix: template: [BAREBONES, KOTLIN, WAYLINE, SAVOR, SKIRMISH, PARLEY, BASTION, REEL] + java: ['17'] + # Developers download on current JDKs too: Kotlin 1.6.0 crashed on 25 + # ("IllegalArgumentException: 25") while every 17 leg was green. + include: + - template: KOTLIN + java: '25' + - template: SKIRMISH + java: '25' steps: - uses: actions/checkout@v6 # No cache: the point is a developer's first build, from an empty repository. - - name: Set up JDK 17 + - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '17' + java-version: ${{ matrix.java }} - name: Ensure a virtual display (xvfb) for the simulator run: | @@ -71,7 +79,7 @@ jobs: if: ${{ !cancelled() }} uses: actions/upload-artifact@v7 with: - name: initializr-e2e-${{ matrix.template }} + name: initializr-e2e-${{ matrix.template }}-jdk${{ matrix.java }} path: | scripts/initializr/target/e2e-shipped/*.log scripts/initializr/target/e2e-shipped/*-shots/** diff --git a/scripts/initializr/common/pom.xml b/scripts/initializr/common/pom.xml index 3c3bbaf6825..4e9629607bc 100644 --- a/scripts/initializr/common/pom.xml +++ b/scripts/initializr/common/pom.xml @@ -103,7 +103,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/barebones-pom.xml b/scripts/initializr/common/src/main/resources/barebones-pom.xml index 8a00f1c1539..e1a096a5363 100644 --- a/scripts/initializr/common/src/main/resources/barebones-pom.xml +++ b/scripts/initializr/common/src/main/resources/barebones-pom.xml @@ -98,7 +98,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/bastion-pom.xml b/scripts/initializr/common/src/main/resources/bastion-pom.xml index 5e088517a28..c86dfe1290a 100644 --- a/scripts/initializr/common/src/main/resources/bastion-pom.xml +++ b/scripts/initializr/common/src/main/resources/bastion-pom.xml @@ -104,7 +104,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/kotlin-pom.xml b/scripts/initializr/common/src/main/resources/kotlin-pom.xml index a4878608846..4c240d95a5b 100644 --- a/scripts/initializr/common/src/main/resources/kotlin-pom.xml +++ b/scripts/initializr/common/src/main/resources/kotlin-pom.xml @@ -94,7 +94,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/parley-pom.xml b/scripts/initializr/common/src/main/resources/parley-pom.xml index 5e088517a28..c86dfe1290a 100644 --- a/scripts/initializr/common/src/main/resources/parley-pom.xml +++ b/scripts/initializr/common/src/main/resources/parley-pom.xml @@ -104,7 +104,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/reel-pom.xml b/scripts/initializr/common/src/main/resources/reel-pom.xml index 5e088517a28..c86dfe1290a 100644 --- a/scripts/initializr/common/src/main/resources/reel-pom.xml +++ b/scripts/initializr/common/src/main/resources/reel-pom.xml @@ -104,7 +104,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/savor-pom.xml b/scripts/initializr/common/src/main/resources/savor-pom.xml index 5e088517a28..c86dfe1290a 100644 --- a/scripts/initializr/common/src/main/resources/savor-pom.xml +++ b/scripts/initializr/common/src/main/resources/savor-pom.xml @@ -104,7 +104,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/skirmish-pom.xml b/scripts/initializr/common/src/main/resources/skirmish-pom.xml index 7ac42a97d4c..e1462c1e296 100644 --- a/scripts/initializr/common/src/main/resources/skirmish-pom.xml +++ b/scripts/initializr/common/src/main/resources/skirmish-pom.xml @@ -110,7 +110,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/common/src/main/resources/wayline-pom.xml b/scripts/initializr/common/src/main/resources/wayline-pom.xml index 5e088517a28..c86dfe1290a 100644 --- a/scripts/initializr/common/src/main/resources/wayline-pom.xml +++ b/scripts/initializr/common/src/main/resources/wayline-pom.xml @@ -104,7 +104,7 @@ - 1.6.0 + 2.2.10 true diff --git a/scripts/initializr/e2e-shipped.sh b/scripts/initializr/e2e-shipped.sh index a9e25607860..4e2ff0ecbcb 100755 --- a/scripts/initializr/e2e-shipped.sh +++ b/scripts/initializr/e2e-shipped.sh @@ -43,6 +43,10 @@ # simulator: xvfb-run is used where there is one. set -euo pipefail +# Opt out of the build telemetry: the launchers and the plugin otherwise report +# these builds to production as if a new developer had made them. +export CN1_TELEMETRY=0 + HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ROOT="$(cd "$HERE/../.." && pwd)" WORK="${E2E_WORK:-$HERE/target/e2e-shipped}"