mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
fix(ci): restore Z.AI API Platform validation (#112171)
This commit is contained in:
@@ -1752,7 +1752,7 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain(
|
||||
'add_profile_suite live-gateway-advisory-docker-opencode-openrouter "full"',
|
||||
);
|
||||
expect(workflow).toContain('add_profile_suite live-gateway-advisory-docker-xai "full"');
|
||||
expect(workflow).toContain('add_profile_suite live-gateway-advisory-docker-xai-zai "full"');
|
||||
expect(workflow).toContain('add_profile_suite live-cli-backend-docker "stable full"');
|
||||
expect(workflow).toContain('add_profile_suite live-subagent-announce-docker "stable full"');
|
||||
expect(workflow).toContain(
|
||||
@@ -1762,12 +1762,12 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).not.toContain("src/agents/openai-ws-stream.e2e.test.ts");
|
||||
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-deepseek-fireworks");
|
||||
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-opencode-openrouter");
|
||||
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-xai");
|
||||
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-xai-zai");
|
||||
expect(workflow).toContain("suite_id: live-subagent-announce-docker");
|
||||
expect(workflow).toContain("suite_group: live-gateway-advisory-docker");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=deepseek,fireworks");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=opencode-go,openrouter");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai,zai");
|
||||
expect(workflow).toContain("inputs.live_suite_filter == matrix.suite_group");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_MODEL=claude-cli/claude-sonnet-4-6");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_AUTH=api-key");
|
||||
@@ -1829,8 +1829,8 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-opencode-go");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-openrouter");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-xai");
|
||||
expect(workflow).not.toContain("suite_id: native-live-src-gateway-profiles-zai");
|
||||
expect(workflow).toContain("Z.AI API Platform validation is temporarily disabled");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-zai");
|
||||
expect(workflow).not.toContain("Z.AI API Platform validation is temporarily disabled");
|
||||
expect(workflow).not.toContain(
|
||||
"OPENCLAW_LIVE_GATEWAY_PROVIDERS=deepseek,opencode-go,openrouter,xai,zai",
|
||||
);
|
||||
|
||||
@@ -134,6 +134,7 @@ const PROFILE_EXPECTATIONS = [
|
||||
"opencode-go",
|
||||
"openrouter",
|
||||
"xai",
|
||||
"zai",
|
||||
"fireworks",
|
||||
],
|
||||
},
|
||||
@@ -249,6 +250,7 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
|
||||
"opencode-go",
|
||||
"openrouter",
|
||||
"xai",
|
||||
"zai",
|
||||
"fireworks",
|
||||
]);
|
||||
});
|
||||
@@ -315,7 +317,7 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
|
||||
});
|
||||
|
||||
expect(plan.liveModels.count).toBe(0);
|
||||
expect(plan.liveModels.omitted).toHaveLength(9);
|
||||
expect(plan.liveModels.omitted).toHaveLength(10);
|
||||
expect(plan.liveModels.omitted[0]?.reason).toBe(
|
||||
"Docker live model matrix disabled by input selection",
|
||||
);
|
||||
|
||||
@@ -48,7 +48,10 @@ describe("scripts/test-live-shard", () => {
|
||||
|
||||
expect(allFiles.length).toBeGreaterThan(0);
|
||||
expect([...new Set(selectedFiles)].toSorted((a, b) => a.localeCompare(b))).toEqual(allFiles);
|
||||
expect(duplicateFiles).toEqual(["extensions/music-generation-providers.live.test.ts"]);
|
||||
expect(duplicateFiles).toEqual([
|
||||
"src/agents/zai.live.test.ts",
|
||||
"extensions/music-generation-providers.live.test.ts",
|
||||
]);
|
||||
expect(musicProviderFanout).toEqual([
|
||||
"native-live-extensions-media-music-google",
|
||||
"native-live-extensions-media-music-minimax",
|
||||
@@ -88,7 +91,7 @@ describe("scripts/test-live-shard", () => {
|
||||
expect(selectLiveShardFiles("native-live-src-agents", allFiles)).toContain(
|
||||
"src/skills/workshop/experience-review.live.test.ts",
|
||||
);
|
||||
expect(selectLiveShardFiles("native-live-src-agents", allFiles)).not.toContain(
|
||||
expect(selectLiveShardFiles("native-live-src-agents", allFiles)).toContain(
|
||||
"src/agents/zai.live.test.ts",
|
||||
);
|
||||
expect(selectLiveShardFiles("native-live-src-agents-zai-coding", allFiles)).toEqual([
|
||||
|
||||
Reference in New Issue
Block a user