mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:30:57 +00:00
ci: retry transient live provider flakes
This commit is contained in:
@@ -119,6 +119,7 @@ describe("package artifact reuse", () => {
|
||||
|
||||
it("shards broad native live tests instead of one serial live-all job", () => {
|
||||
const workflow = readFileSync(LIVE_E2E_WORKFLOW, "utf8");
|
||||
const retryHelper = readFileSync("scripts/ci-live-command-retry.sh", "utf8");
|
||||
|
||||
expect(workflow).not.toContain("suite_id: live-all");
|
||||
expect(workflow).not.toContain("command: pnpm test:live\n");
|
||||
@@ -127,6 +128,8 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain(
|
||||
"command: node .release-harness/scripts/test-live-shard.mjs native-live-src-agents",
|
||||
);
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_COMMAND: ${{ matrix.command }}");
|
||||
expect(workflow).toContain("bash .release-harness/scripts/ci-live-command-retry.sh");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-core");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-backends");
|
||||
expect(workflow).toContain("suite_id: native-live-src-gateway-profiles-deepseek");
|
||||
@@ -150,6 +153,9 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("suite_id: native-live-extensions-media-music-minimax");
|
||||
expect(workflow).toContain("suite_id: native-live-extensions-media-video");
|
||||
expect(workflow).not.toContain("needs_ffmpeg: true");
|
||||
expect(retryHelper).toContain("OPENCLAW_LIVE_COMMAND_ATTEMPTS:-2");
|
||||
expect(retryHelper).toContain("ECONNRESET");
|
||||
expect(retryHelper).toContain("fetch failed");
|
||||
});
|
||||
|
||||
it("runs Docker live harnesses from trusted helper scripts", () => {
|
||||
|
||||
Reference in New Issue
Block a user