From 0fb59b02e972e3da3f9c3fcc1631e7266b84300a Mon Sep 17 00:00:00 2001 From: Chris Hagglund Date: Thu, 12 Nov 2026 09:46:12 -0600 Subject: [PATCH 1/3] ci(agent-e2e): run on gpt-6-luna; skip the live dall-e-3 test The OpenAI key is moving to the Orkes-Developers project, which only allows the gpt-5.6 / gpt-6 families. gpt-4o-mini also shuts down on 2027-01-14. - Set CONDUCTOR_AGENT_LLM_MODEL=openai/gpt-6-luna for every suite. - Disable test_image_generation_openai_runtime_completes: dall-e-3 no longer exists at OpenAI, and gpt-image-* is not enabled in the project. The plan()-only media tests still run. - Add an "LLM provider check" first step that calls the model directly, so a dead key or quota fails in seconds, not at the 45-minute timeout. - Add a "Show server errors" step that prints server.log errors to the job log on failure or cancel. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/agent-e2e.yml | 43 +++++++++++++++++++++++++ e2e/src/test/java/Suite7MediaTools.java | 2 ++ 2 files changed, 45 insertions(+) diff --git a/.github/workflows/agent-e2e.yml b/.github/workflows/agent-e2e.yml index f8e416a3b..1c86ba0a7 100644 --- a/.github/workflows/agent-e2e.yml +++ b/.github/workflows/agent-e2e.yml @@ -34,7 +34,40 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} CONDUCTOR_SERVER_URL: http://localhost:8080/api + # Default model for every suite. The Orkes-Developers OpenAI project only + # allows the gpt-5.6 / gpt-6 families; gpt-6-luna is OpenAI's replacement + # for gpt-4o-mini, which shuts down on 2027-01-14. + CONDUCTOR_AGENT_LLM_MODEL: openai/gpt-6-luna steps: + # A dead key, exhausted quota, retired model or provider outage makes + # every agent test wait out its timeout — the job then hits timeout-minutes + # before the runner reports a single failure. Call the model the suites use + # directly, before any setup: the HTTP status and body name the cause in + # seconds. No suite calls Anthropic through the server, so only OpenAI is + # checked. + - name: LLM provider check + timeout-minutes: 1 + run: | + fail=0 + probe() { # label, url, curl args... + local label=$1 url=$2; shift 2 + local code + code=$(curl -sS -m 15 -o "$RUNNER_TEMP/probe.json" -w '%{http_code}' "$url" "$@" \ + -H 'content-type: application/json') || true + echo "$label: HTTP $code" + if [ "$code" != 200 ]; then + echo "::error::$label check failed (HTTP $code; 000 = no response in 15s)" + cat "$RUNNER_TEMP/probe.json" 2>/dev/null || true; echo + fail=1 + fi + } + # Responses API, as the server uses; 16 is its minimum max_output_tokens. + openai_model=${CONDUCTOR_AGENT_LLM_MODEL#openai/} + probe "OpenAI $openai_model" https://api.openai.com/v1/responses \ + -H "authorization: Bearer $OPENAI_API_KEY" \ + -d "{\"model\":\"$openai_model\",\"input\":\"ping\",\"max_output_tokens\":16,\"reasoning\":{\"effort\":\"none\"}}" + exit $fail + - name: Checkout code uses: actions/checkout@v4 @@ -93,6 +126,16 @@ jobs: - name: Run e2e suites run: ./gradlew :e2e:test -Pe2e + # The uploaded server.log is lost when the run is re-run, and a run + # killed at timeout-minutes never reports its test failures — keep the + # server's own errors in the job log, which survives both. + - name: Show server errors + if: failure() || cancelled() + run: | + [ -f server.log ] || exit 0 + grep -nE ' (ERROR|WARN) |Exception|[Qq]uota|rate.?limit|\b(401|403|404|429)\b' server.log \ + | grep -vE 'cannot init (Cohere|Mistral)' | tail -150 + # BaseTest assumeTrue-skips every suite when the server is unreachable — # without this guard a boot failure after the health gate (or a future # gate regression) would yield a green job that ran nothing. diff --git a/e2e/src/test/java/Suite7MediaTools.java b/e2e/src/test/java/Suite7MediaTools.java index 23a6e9d4a..ffa26f176 100644 --- a/e2e/src/test/java/Suite7MediaTools.java +++ b/e2e/src/test/java/Suite7MediaTools.java @@ -329,6 +329,8 @@ void test_no_media_tool_means_no_generate_in_plan() { */ @Test @Order(7) + @Disabled("dall-e-3 has been removed from OpenAI's API ('model does not exist'), and its " + + "gpt-image-* replacements are not enabled in the Orkes-Developers OpenAI project") @SuppressWarnings("unchecked") void test_image_generation_openai_runtime_completes() { String apiKey = System.getenv("OPENAI_API_KEY"); From e2079a63220b7fc4c037a04d6841b563ef308de8 Mon Sep 17 00:00:00 2001 From: Chris Hagglund Date: Mon, 16 Nov 2026 12:44:52 -0600 Subject: [PATCH 2/3] ci(agent-e2e): gate image/TTS tests on SKIP_IMAGE_GEN/SKIP_TTS env vars The live image and TTS tests now run by default and are skipped only when SKIP_IMAGE_GEN / SKIP_TTS is "true". agent-e2e.yml sets them, because the Orkes-Developers OpenAI project has no image or TTS models. Also keep "Show server errors" green when grep finds no match. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/agent-e2e.yml | 3 ++- e2e/src/test/java/Suite7MediaTools.java | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/agent-e2e.yml b/.github/workflows/agent-e2e.yml index 1c86ba0a7..e818db1dd 100644 --- a/.github/workflows/agent-e2e.yml +++ b/.github/workflows/agent-e2e.yml @@ -38,6 +38,7 @@ jobs: # allows the gpt-5.6 / gpt-6 families; gpt-6-luna is OpenAI's replacement # for gpt-4o-mini, which shuts down on 2027-01-14. CONDUCTOR_AGENT_LLM_MODEL: openai/gpt-6-luna + SKIP_IMAGE_GEN: 'true' # no image models in the Orkes-Developers OpenAI project; dall-e-3 is retired, so re-enabling also needs gpt-image-1 steps: # A dead key, exhausted quota, retired model or provider outage makes # every agent test wait out its timeout — the job then hits timeout-minutes @@ -134,7 +135,7 @@ jobs: run: | [ -f server.log ] || exit 0 grep -nE ' (ERROR|WARN) |Exception|[Qq]uota|rate.?limit|\b(401|403|404|429)\b' server.log \ - | grep -vE 'cannot init (Cohere|Mistral)' | tail -150 + | grep -vE 'cannot init (Cohere|Mistral)' | tail -150 || true # BaseTest assumeTrue-skips every suite when the server is unreachable — # without this guard a boot failure after the health gate (or a future diff --git a/e2e/src/test/java/Suite7MediaTools.java b/e2e/src/test/java/Suite7MediaTools.java index ffa26f176..7cc763598 100644 --- a/e2e/src/test/java/Suite7MediaTools.java +++ b/e2e/src/test/java/Suite7MediaTools.java @@ -22,6 +22,7 @@ import org.conductoross.conductor.ai.model.ToolDef; import org.conductoross.conductor.ai.tools.MediaTools; import org.junit.jupiter.api.*; +import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assumptions.assumeTrue; @@ -329,8 +330,11 @@ void test_no_media_tool_means_no_generate_in_plan() { */ @Test @Order(7) - @Disabled("dall-e-3 has been removed from OpenAI's API ('model does not exist'), and its " - + "gpt-image-* replacements are not enabled in the Orkes-Developers OpenAI project") + @DisabledIfEnvironmentVariable( + named = "SKIP_IMAGE_GEN", + matches = "(?i)true", + disabledReason = "dall-e-3 has been removed from OpenAI's API ('model does not exist'), and its " + + "gpt-image-* replacements are not enabled in the Orkes-Developers OpenAI project") @SuppressWarnings("unchecked") void test_image_generation_openai_runtime_completes() { String apiKey = System.getenv("OPENAI_API_KEY"); From 33e96f8459382d518760f6a620ea57bf8153bf2e Mon Sep 17 00:00:00 2001 From: Chris Hagglund Date: Tue, 17 Nov 2026 09:25:42 -0600 Subject: [PATCH 3/3] test(e2e): default to gpt-6-luna when CONDUCTOR_AGENT_LLM_MODEL is unset gpt-4o-mini shuts down on 2027-01-14. Change the default in BaseTest and in the e2e bundle's build.gradle, run.sh and README. Co-Authored-By: Claude Opus 5.5 --- e2e/release/package-e2e-bundle.sh | 8 ++++---- e2e/src/test/java/BaseTest.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/e2e/release/package-e2e-bundle.sh b/e2e/release/package-e2e-bundle.sh index 4a3db43a2..17d89b88d 100755 --- a/e2e/release/package-e2e-bundle.sh +++ b/e2e/release/package-e2e-bundle.sh @@ -117,7 +117,7 @@ test { environment 'CONDUCTOR_SERVER_URL', System.getProperty('CONDUCTOR_SERVER_URL', System.getenv('CONDUCTOR_SERVER_URL') ?: 'http://localhost:8080/api') environment 'CONDUCTOR_AGENT_LLM_MODEL', - System.getProperty('CONDUCTOR_AGENT_LLM_MODEL', System.getenv('CONDUCTOR_AGENT_LLM_MODEL') ?: 'openai/gpt-4o-mini') + System.getProperty('CONDUCTOR_AGENT_LLM_MODEL', System.getenv('CONDUCTOR_AGENT_LLM_MODEL') ?: 'openai/gpt-6-luna') } EOF sed -i.bak "s/@VERSION@/$VERSION/g" "$STAGE/build.gradle" && rm "$STAGE/build.gradle.bak" @@ -147,7 +147,7 @@ set -euo pipefail # - MCP testkit on http://localhost:9999/mcp (Suite4McpTools; URL is fixed # in the suite) # Optional: -# - CONDUCTOR_AGENT_LLM_MODEL (default openai/gpt-4o-mini); the matching provider +# - CONDUCTOR_AGENT_LLM_MODEL (default openai/gpt-6-luna); the matching provider # API key must be configured on the SERVER — the suites never read it # (asserted by Suite2ToolCallingCredentials). # @@ -157,7 +157,7 @@ HERE="$(cd "$(dirname "$0")" && pwd)" cd "$HERE" ./gradlew test \ -DCONDUCTOR_SERVER_URL="${CONDUCTOR_SERVER_URL:-http://localhost:8080/api}" \ - -DCONDUCTOR_AGENT_LLM_MODEL="${CONDUCTOR_AGENT_LLM_MODEL:-openai/gpt-4o-mini}" "$@" + -DCONDUCTOR_AGENT_LLM_MODEL="${CONDUCTOR_AGENT_LLM_MODEL:-openai/gpt-6-luna}" "$@" echo "Report: $HERE/build/reports/tests/test/index.html" EOF chmod +x "$STAGE/run.sh" @@ -177,7 +177,7 @@ Maven Central — no SDK source is vendored. Cut from |---------------------------------|------------------------|-----------------------------| | JDK 21 (Gradle wrapper bundled) | — | — | | Conductor server w/ agent runtime | `CONDUCTOR_SERVER_URL` | `http://localhost:8080/api` | -| LLM model | `CONDUCTOR_AGENT_LLM_MODEL` | `openai/gpt-4o-mini` | +| LLM model | `CONDUCTOR_AGENT_LLM_MODEL` | `openai/gpt-6-luna` | | MCP testkit (Suite4 only) | — (fixed in suite) | `http://localhost:9999/mcp` | The server needs the agent runtime: conductor-oss `>= 3.32.0-rc.8`, or diff --git a/e2e/src/test/java/BaseTest.java b/e2e/src/test/java/BaseTest.java index 5224165ff..4c005153c 100644 --- a/e2e/src/test/java/BaseTest.java +++ b/e2e/src/test/java/BaseTest.java @@ -47,7 +47,7 @@ public abstract class BaseTest { protected static final String BASE_URL = SERVER_URL.replace("/api", ""); /** LLM model to use in e2e tests. */ - protected static final String MODEL = System.getenv().getOrDefault("CONDUCTOR_AGENT_LLM_MODEL", "openai/gpt-4o-mini"); + protected static final String MODEL = System.getenv().getOrDefault("CONDUCTOR_AGENT_LLM_MODEL", "openai/gpt-6-luna"); private static final HttpClient HTTP_CLIENT = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(10)).build();