fix(release): serialize OpenAI installer e2e turns

This commit is contained in:
Peter Steinberger
2026-05-09 19:28:17 +01:00
parent 279ae6f5f3
commit 354e49ac7d
4 changed files with 4 additions and 4 deletions

View File

@@ -606,7 +606,7 @@ run_profile() {
agent_model="$(set_agent_model "$profile" \
"openai/gpt-5.5" \
"openai/gpt-5.4-mini")"
openclaw --profile "$profile" config set models.providers.openai '{"baseUrl":"https://api.openai.com/v1","models":[],"timeoutSeconds":600,"agentRuntime":{"id":"pi"}}' --strict-json >/dev/null
openclaw --profile "$profile" config set models.providers.openai "{\"baseUrl\":\"https://api.openai.com/v1\",\"models\":[],\"timeoutSeconds\":${AGENT_TURN_TIMEOUT_SECONDS},\"agentRuntime\":{\"id\":\"pi\"}}" --strict-json >/dev/null
image_model="$(set_image_model "$profile" \
"openai/gpt-5.4-image-2")"
else

View File

@@ -523,7 +523,7 @@ const releasePathBundledChannelLanes = [
const releasePathPackageInstallOpenAiLanes = [
npmLane(
"install-e2e-openai",
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e",
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e",
{
resources: ["service"],
weight: 3,

View File

@@ -118,7 +118,7 @@ describe("docker build helper", () => {
const scenarios = readFileSync(DOCKER_E2E_SCENARIOS_PATH, "utf8");
expect(scenarios).toContain(
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e"',
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e"',
);
expect(scenarios).toContain(
'"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=anthropic OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-anthropic:local pnpm test:install:e2e"',

View File

@@ -736,7 +736,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
expect(plan.lanes.map(summarizeLane)).toEqual([
{
command:
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local pnpm test:install:e2e",
"OPENCLAW_INSTALL_TAG=beta OPENCLAW_E2E_MODELS=openai OPENCLAW_INSTALL_E2E_IMAGE=openclaw-install-e2e-openai:local OPENCLAW_INSTALL_E2E_AGENT_TURN_TIMEOUT_SECONDS=900 OPENCLAW_INSTALL_E2E_AGENT_TURNS_PARALLEL=0 pnpm test:install:e2e",
imageKind: "bare",
live: false,
name: "install-e2e-openai",