Skip to content

Commit 954c77d

Browse files
authored
test(ci): temporarily omit Z.AI API Platform validation (#109246)
* test(ci): temporarily omit Z.AI API Platform validation * test(ci): align disabled provider count
1 parent 9f0e35c commit 954c77d

4 files changed

Lines changed: 25 additions & 26 deletions

File tree

.github/workflows/openclaw-live-and-e2e-checks-reusable.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ jobs:
626626
add_profile_suite native-live-src-gateway-profiles-opencode-go-smoke "stable"
627627
add_profile_suite native-live-src-gateway-profiles-openrouter "full"
628628
add_profile_suite native-live-src-gateway-profiles-xai "full"
629-
add_profile_suite native-live-src-gateway-profiles-zai "full"
630629
add_profile_suite native-live-src-gateway-backends "stable full"
631630
add_profile_suite native-live-src-infra "stable full"
632631
add_profile_suite native-live-test "stable full"
@@ -644,7 +643,7 @@ jobs:
644643
add_profile_suite live-gateway-advisory-docker "full"
645644
add_profile_suite live-gateway-advisory-docker-deepseek-fireworks "full"
646645
add_profile_suite live-gateway-advisory-docker-opencode-openrouter "full"
647-
add_profile_suite live-gateway-advisory-docker-xai-zai "full"
646+
add_profile_suite live-gateway-advisory-docker-xai "full"
648647
add_profile_suite live-cli-backend-docker "stable full"
649648
add_profile_suite live-acp-bind-docker "stable full"
650649
add_profile_suite live-codex-harness-docker "stable full"
@@ -707,6 +706,17 @@ jobs:
707706
RELEASE_TEST_PROFILE: ${{ inputs.release_test_profile }}
708707
run: node scripts/plan-release-workflow-matrix.mjs >> "$GITHUB_OUTPUT"
709708

709+
- name: Record temporary Z.AI API Platform omission
710+
if: inputs.include_live_suites
711+
shell: bash
712+
run: |
713+
{
714+
echo
715+
echo "### Temporary provider omission"
716+
echo
717+
echo "Z.AI API Platform validation is temporarily disabled while its CI account is unavailable. Z.AI Coding Plan validation remains enabled."
718+
} >> "$GITHUB_STEP_SUMMARY"
719+
710720
validate_release_live_cache:
711721
needs: validate_selected_ref
712722
if: inputs.include_live_suites && !inputs.live_models_only && (inputs.live_suite_filter == '' || inputs.live_suite_filter == 'live-cache')
@@ -2827,7 +2837,9 @@ jobs:
28272837
include:
28282838
- suite_id: native-live-src-agents
28292839
label: Native live agents
2830-
command: node .release-harness/scripts/test-live-shard.mjs native-live-src-agents
2840+
# Keep the dedicated Coding Plan suite below while temporarily omitting
2841+
# API Platform calls from the broad agents shard.
2842+
command: ZAI_API_KEY= Z_AI_API_KEY= node .release-harness/scripts/test-live-shard.mjs native-live-src-agents
28312843
timeout_minutes: 60
28322844
profile_env_only: false
28332845
profiles: stable full
@@ -2962,13 +2974,6 @@ jobs:
29622974
profile_env_only: false
29632975
advisory: true
29642976
profiles: full
2965-
- suite_id: native-live-src-gateway-profiles-zai
2966-
label: Native live gateway profiles Z.ai
2967-
command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=zai node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-profiles
2968-
timeout_minutes: 30
2969-
profile_env_only: false
2970-
advisory: true
2971-
profiles: full
29722977
- suite_id: native-live-src-gateway-backends
29732978
label: Native live gateway backends
29742979
command: OPENCLAW_LIVE_CODEX_HARNESS=1 OPENCLAW_LIVE_CODEX_HARNESS_AUTH=api-key node .release-harness/scripts/test-live-shard.mjs native-live-src-gateway-backends
@@ -3226,10 +3231,10 @@ jobs:
32263231
profile_env_only: false
32273232
advisory: true
32283233
profiles: full
3229-
- suite_id: live-gateway-advisory-docker-xai-zai
3234+
- suite_id: live-gateway-advisory-docker-xai
32303235
suite_group: live-gateway-advisory-docker
3231-
label: Docker live gateway advisory xAI/Z.ai
3232-
command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai,zai OPENCLAW_LIVE_GATEWAY_MAX_MODELS=2 OPENCLAW_LIVE_GATEWAY_STEP_TIMEOUT_MS=90000 OPENCLAW_LIVE_GATEWAY_MODEL_TIMEOUT_MS=180000 OPENCLAW_LIVE_DOCKER_REPO_ROOT="$GITHUB_WORKSPACE" timeout --foreground --kill-after=30s 35m bash .release-harness/scripts/test-live-gateway-models-docker.sh
3236+
label: Docker live gateway advisory xAI
3237+
command: OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai OPENCLAW_LIVE_GATEWAY_MAX_MODELS=2 OPENCLAW_LIVE_GATEWAY_STEP_TIMEOUT_MS=90000 OPENCLAW_LIVE_GATEWAY_MODEL_TIMEOUT_MS=180000 OPENCLAW_LIVE_DOCKER_REPO_ROOT="$GITHUB_WORKSPACE" timeout --foreground --kill-after=30s 35m bash .release-harness/scripts/test-live-gateway-models-docker.sh
32333238
timeout_minutes: 40
32343239
profile_env_only: false
32353240
advisory: true

scripts/plan-release-workflow-matrix.mjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@ const LIVE_MODEL_PROVIDERS = [
129129
providers: "xai",
130130
profiles: "full",
131131
},
132-
{
133-
provider_label: "Z.ai",
134-
providers: "zai",
135-
profiles: "full",
136-
},
137132
{
138133
provider_label: "Fireworks",
139134
providers: "fireworks",

test/scripts/package-acceptance-workflow.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ describe("package artifact reuse", () => {
16041604
expect(workflow).toContain("suite_id: native-live-src-agents");
16051605
expect(workflow).toContain("Checkout trusted live shard harness");
16061606
expect(workflow).toContain(
1607-
"command: node .release-harness/scripts/test-live-shard.mjs native-live-src-agents",
1607+
"command: ZAI_API_KEY= Z_AI_API_KEY= node .release-harness/scripts/test-live-shard.mjs native-live-src-agents",
16081608
);
16091609
expect(workflow).toContain("suite_id: native-live-src-agents-zai-coding");
16101610
expect(workflow).toContain(
@@ -1633,7 +1633,7 @@ describe("package artifact reuse", () => {
16331633
expect(workflow).toContain(
16341634
'add_profile_suite live-gateway-advisory-docker-opencode-openrouter "full"',
16351635
);
1636-
expect(workflow).toContain('add_profile_suite live-gateway-advisory-docker-xai-zai "full"');
1636+
expect(workflow).toContain('add_profile_suite live-gateway-advisory-docker-xai "full"');
16371637
expect(workflow).toContain('add_profile_suite live-cli-backend-docker "stable full"');
16381638
expect(workflow).toContain('add_profile_suite live-subagent-announce-docker "stable full"');
16391639
expect(workflow).toContain(
@@ -1643,12 +1643,12 @@ describe("package artifact reuse", () => {
16431643
expect(workflow).not.toContain("src/agents/openai-ws-stream.e2e.test.ts");
16441644
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-deepseek-fireworks");
16451645
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-opencode-openrouter");
1646-
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-xai-zai");
1646+
expect(workflow).toContain("suite_id: live-gateway-advisory-docker-xai");
16471647
expect(workflow).toContain("suite_id: live-subagent-announce-docker");
16481648
expect(workflow).toContain("suite_group: live-gateway-advisory-docker");
16491649
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=deepseek,fireworks");
16501650
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=opencode-go,openrouter");
1651-
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai,zai");
1651+
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai");
16521652
expect(workflow).toContain("inputs.live_suite_filter == matrix.suite_group");
16531653
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_MODEL=claude-cli/claude-sonnet-4-6");
16541654
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_AUTH=api-key");
@@ -1710,7 +1710,8 @@ describe("package artifact reuse", () => {
17101710
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-opencode-go");
17111711
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-openrouter");
17121712
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-xai");
1713-
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-zai");
1713+
expect(workflow).not.toContain("suite_id: native-live-src-gateway-profiles-zai");
1714+
expect(workflow).toContain("Z.AI API Platform validation is temporarily disabled");
17141715
expect(workflow).not.toContain(
17151716
"OPENCLAW_LIVE_GATEWAY_PROVIDERS=deepseek,opencode-go,openrouter,xai,zai",
17161717
);

test/scripts/release-workflow-matrix-plan.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ const PROFILE_EXPECTATIONS = [
127127
"opencode-go",
128128
"openrouter",
129129
"xai",
130-
"zai",
131130
"fireworks",
132131
],
133132
},
@@ -243,7 +242,6 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
243242
"opencode-go",
244243
"openrouter",
245244
"xai",
246-
"zai",
247245
"fireworks",
248246
]);
249247
});
@@ -310,7 +308,7 @@ describe("scripts/plan-release-workflow-matrix.mjs", () => {
310308
});
311309

312310
expect(plan.liveModels.count).toBe(0);
313-
expect(plan.liveModels.omitted).toHaveLength(10);
311+
expect(plan.liveModels.omitted).toHaveLength(9);
314312
expect(plan.liveModels.omitted[0]?.reason).toBe(
315313
"Docker live model matrix disabled by input selection",
316314
);

0 commit comments

Comments
 (0)