From e8afaf512e87b1e1b441f5a1845e534cf34de06e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 1 May 2026 10:40:02 +0100 Subject: [PATCH] test: use release OpenAI model in Parallels --- scripts/e2e/parallels/macos-discord.ts | 1 + scripts/e2e/parallels/macos-smoke.ts | 4 ++-- scripts/e2e/parallels/provider-auth.ts | 2 +- test/scripts/parallels-smoke-model.test.ts | 5 +++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/e2e/parallels/macos-discord.ts b/scripts/e2e/parallels/macos-discord.ts index 379fdb2fc32..d47adb88c9f 100644 --- a/scripts/e2e/parallels/macos-discord.ts +++ b/scripts/e2e/parallels/macos-discord.ts @@ -40,6 +40,7 @@ ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.dis ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.enabled true ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.groupPolicy allowlist ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.guilds ${shellQuote(guilds)} --strict-json +${this.input.guestNode} ${this.input.guestOpenClawEntry} plugins deps --repair ${this.input.guestNode} ${this.input.guestOpenClawEntry} gateway restart ${this.input.guestNode} ${this.input.guestOpenClawEntry} channels status --probe --json`); } diff --git a/scripts/e2e/parallels/macos-smoke.ts b/scripts/e2e/parallels/macos-smoke.ts index 0dbca2efa74..0794bab3e39 100755 --- a/scripts/e2e/parallels/macos-smoke.ts +++ b/scripts/e2e/parallels/macos-smoke.ts @@ -479,7 +479,7 @@ class MacosSmoke { this.status.freshAgent = "pass"; if (this.discordEnabled()) { this.status.freshDiscord = "fail"; - await this.phase("fresh.discord-config", 180, () => this.configureDiscord()); + await this.phase("fresh.discord-config", 600, () => this.configureDiscord()); await this.phase("fresh.discord-roundtrip", 180, () => this.runDiscordRoundtrip("fresh")); this.status.freshDiscord = "pass"; } @@ -536,7 +536,7 @@ class MacosSmoke { this.status.upgradeAgent = "pass"; if (this.discordEnabled()) { this.status.upgradeDiscord = "fail"; - await this.phase("upgrade.discord-config", 180, () => this.configureDiscord()); + await this.phase("upgrade.discord-config", 600, () => this.configureDiscord()); await this.phase("upgrade.discord-roundtrip", 180, () => this.runDiscordRoundtrip("upgrade")); this.status.upgradeDiscord = "pass"; } diff --git a/scripts/e2e/parallels/provider-auth.ts b/scripts/e2e/parallels/provider-auth.ts index 213b740b7c8..f2d0338bb4d 100644 --- a/scripts/e2e/parallels/provider-auth.ts +++ b/scripts/e2e/parallels/provider-auth.ts @@ -42,7 +42,7 @@ export function resolveProviderAuth(input: { apiKeyEnv: input.apiKeyEnv || "OPENAI_API_KEY", authChoice: "openai-api-key", authKeyFlag: "openai-api-key", - modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.4", + modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.5", }, }; const resolved = providerDefaults[input.provider]; diff --git a/test/scripts/parallels-smoke-model.test.ts b/test/scripts/parallels-smoke-model.test.ts index fb06b8360f2..bf5aa820935 100644 --- a/test/scripts/parallels-smoke-model.test.ts +++ b/test/scripts/parallels-smoke-model.test.ts @@ -87,7 +87,7 @@ describe("Parallels smoke model selection", () => { const providerAuth = readFileSync(TS_PATHS.providerAuth, "utf8"); expect(providerAuth).toContain("OPENCLAW_PARALLELS_OPENAI_MODEL"); - expect(providerAuth).toContain("openai/gpt-5.4"); + expect(providerAuth).toContain("openai/gpt-5.5"); expect(providerAuth).toContain('authChoice: "openai-api-key"'); expect(providerAuth).toContain('authChoice: "apiKey"'); expect(providerAuth).toContain('authChoice: "minimax-global-api"'); @@ -225,7 +225,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing")); apiKeyValue: "sk-openai", authChoice: "openai-api-key", authKeyFlag: "openai-api-key", - modelId: "openai/gpt-5.4", + modelId: "openai/gpt-5.5", }); expect( @@ -363,6 +363,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing")); expect(macos).not.toContain("Authorization: Bot"); expect(discord).toContain("Authorization: Bot"); expect(discord).toContain('"--silent"'); + expect(discord).toContain("plugins deps --repair"); expect(discord).toContain("channels status --probe --json"); expect(discord).toContain("Stop ${this.input.vmName} after successful Discord smoke"); });