From bdd2a137eb5e2856215036f212d24bed6f509d1a Mon Sep 17 00:00:00 2001 From: Chris Hagglund Date: Tue, 24 Nov 2026 10:34:29 -0600 Subject: [PATCH] ci(agent-e2e): run the Conductor server on Java 25 E2E_TEST_OSS_CONDUCTOR_VERSION moved to 3.34.1 after the Maven Central publish went through. Conductor builds from 3.34.0-rc3 on target Java 25 (conductor-oss/conductor f569685fa), so the server failed at startup on the job's Java 21 with UnsupportedClassVersionError (class file version 69), and every agent-e2e run failed. Install Temurin 25 and 21, and start the server with JAVA_HOME_25_X64. 21 is listed last, so it stays the default JAVA_HOME: Gradle 8.14.3 cannot run on Java 25, so the e2e suites still build and run on 21. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/agent-e2e.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agent-e2e.yml b/.github/workflows/agent-e2e.yml index e818db1dd..de3b642ce 100644 --- a/.github/workflows/agent-e2e.yml +++ b/.github/workflows/agent-e2e.yml @@ -72,11 +72,17 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + # Two JDKs: the Conductor server needs Java 25 (3.34.0-rc3 onwards are class + # file version 69), but this repo's Gradle 8.14.3 cannot run on 25. 21 is + # listed last so it stays the default JAVA_HOME for the Gradle build; + # "Start server" runs the JAR with JAVA_HOME_25_X64. - name: Set up Java uses: actions/setup-java@v4 with: distribution: temurin - java-version: '21' + java-version: | + 25 + 21 # Python is only needed for mcp-testkit and the XML guard. # No `cache: pip` — it hard-fails without a requirements file. @@ -110,7 +116,7 @@ jobs: - name: Start server run: | - java -jar conductor-server.jar --server.port=8080 > server.log 2>&1 & + "$JAVA_HOME_25_X64/bin/java" -jar conductor-server.jar --server.port=8080 > server.log 2>&1 & - name: Wait for server health run: |