Skip to content

Commit e8afaf5

Browse files
committed
test: use release OpenAI model in Parallels
1 parent 996e0ae commit e8afaf5

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

scripts/e2e/parallels/macos-discord.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.dis
4040
${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.enabled true
4141
${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.groupPolicy allowlist
4242
${this.input.guestNode} ${this.input.guestOpenClawEntry} config set channels.discord.guilds ${shellQuote(guilds)} --strict-json
43+
${this.input.guestNode} ${this.input.guestOpenClawEntry} plugins deps --repair
4344
${this.input.guestNode} ${this.input.guestOpenClawEntry} gateway restart
4445
${this.input.guestNode} ${this.input.guestOpenClawEntry} channels status --probe --json`);
4546
}

scripts/e2e/parallels/macos-smoke.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class MacosSmoke {
479479
this.status.freshAgent = "pass";
480480
if (this.discordEnabled()) {
481481
this.status.freshDiscord = "fail";
482-
await this.phase("fresh.discord-config", 180, () => this.configureDiscord());
482+
await this.phase("fresh.discord-config", 600, () => this.configureDiscord());
483483
await this.phase("fresh.discord-roundtrip", 180, () => this.runDiscordRoundtrip("fresh"));
484484
this.status.freshDiscord = "pass";
485485
}
@@ -536,7 +536,7 @@ class MacosSmoke {
536536
this.status.upgradeAgent = "pass";
537537
if (this.discordEnabled()) {
538538
this.status.upgradeDiscord = "fail";
539-
await this.phase("upgrade.discord-config", 180, () => this.configureDiscord());
539+
await this.phase("upgrade.discord-config", 600, () => this.configureDiscord());
540540
await this.phase("upgrade.discord-roundtrip", 180, () => this.runDiscordRoundtrip("upgrade"));
541541
this.status.upgradeDiscord = "pass";
542542
}

scripts/e2e/parallels/provider-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function resolveProviderAuth(input: {
4242
apiKeyEnv: input.apiKeyEnv || "OPENAI_API_KEY",
4343
authChoice: "openai-api-key",
4444
authKeyFlag: "openai-api-key",
45-
modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.4",
45+
modelId: input.modelId || process.env.OPENCLAW_PARALLELS_OPENAI_MODEL || "openai/gpt-5.5",
4646
},
4747
};
4848
const resolved = providerDefaults[input.provider];

test/scripts/parallels-smoke-model.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe("Parallels smoke model selection", () => {
8787
const providerAuth = readFileSync(TS_PATHS.providerAuth, "utf8");
8888

8989
expect(providerAuth).toContain("OPENCLAW_PARALLELS_OPENAI_MODEL");
90-
expect(providerAuth).toContain("openai/gpt-5.4");
90+
expect(providerAuth).toContain("openai/gpt-5.5");
9191
expect(providerAuth).toContain('authChoice: "openai-api-key"');
9292
expect(providerAuth).toContain('authChoice: "apiKey"');
9393
expect(providerAuth).toContain('authChoice: "minimax-global-api"');
@@ -225,7 +225,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing"));
225225
apiKeyValue: "sk-openai",
226226
authChoice: "openai-api-key",
227227
authKeyFlag: "openai-api-key",
228-
modelId: "openai/gpt-5.4",
228+
modelId: "openai/gpt-5.5",
229229
});
230230

231231
expect(
@@ -363,6 +363,7 @@ console.log(resolveUbuntuVmName("Ubuntu missing"));
363363
expect(macos).not.toContain("Authorization: Bot");
364364
expect(discord).toContain("Authorization: Bot");
365365
expect(discord).toContain('"--silent"');
366+
expect(discord).toContain("plugins deps --repair");
366367
expect(discord).toContain("channels status --probe --json");
367368
expect(discord).toContain("Stop ${this.input.vmName} after successful Discord smoke");
368369
});

0 commit comments

Comments
 (0)