From 8bdcd9e5d6a6cd4db4bd1f87c6a8041eeba4b388 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 20 Aug 2026 23:18:08 -0700 Subject: [PATCH] test(release): align ClawHub protected dispatch ref --- test/plugin-clawhub-release.test.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/plugin-clawhub-release.test.ts b/test/plugin-clawhub-release.test.ts index f65e0df6a8e2..47252141bd93 100644 --- a/test/plugin-clawhub-release.test.ts +++ b/test/plugin-clawhub-release.test.ts @@ -1315,17 +1315,19 @@ describe("buildOpenClawReleaseClawHubPlan", () => { }, ); - expect(plan.clawHubWorkflowRef).toBe("v2026.4.1-beta.1"); + expect(plan.clawHubWorkflowRef).toBe(`release-publish/${"d".repeat(12)}-12345`); expect(plan.bootstrapWorkflowSha).toBe("d".repeat(40)); expect(plan.releasePublishBranch).toBe("main"); expect(plan.normal).toEqual({ workflow: "plugin-clawhub-release.yml", - ref: "v2026.4.1-beta.1", + ref: `release-publish/${"d".repeat(12)}-12345`, shouldDispatch: true, packages: ["@openclaw/demo-plugin"], inputs: { publish_scope: "selected", + ref: "a".repeat(40), plugins: "@openclaw/demo-plugin", + release_publish_run_attempt: "2", release_publish_run_id: "12345", release_publish_branch: "main", }, @@ -1355,7 +1357,7 @@ describe("buildOpenClawReleaseClawHubPlan", () => { missingTrustedPlugins: "@openclaw/demo-three", }); expect(plan.verifier).toEqual({ - clawHubWorkflowRef: "v2026.4.1-beta.1", + clawHubWorkflowRef: `release-publish/${"d".repeat(12)}-12345`, }); });