diff --git a/.github/workflows/full-release-validation.yml b/.github/workflows/full-release-validation.yml index 4bdeb59268f..a97c12a2bf5 100644 --- a/.github/workflows/full-release-validation.yml +++ b/.github/workflows/full-release-validation.yml @@ -375,7 +375,7 @@ jobs: fi dispatch_and_wait openclaw-release-checks.yml \ - -f ref="$TARGET_REF" \ + -f ref="$TARGET_SHA" \ -f expected_sha="$TARGET_SHA" \ -f provider="$PROVIDER" \ -f mode="$MODE" \ diff --git a/src/cli/program/preaction.test.ts b/src/cli/program/preaction.test.ts index c398db532e0..741309132fb 100644 --- a/src/cli/program/preaction.test.ts +++ b/src/cli/program/preaction.test.ts @@ -246,7 +246,7 @@ describe("registerPreActionHooks", () => { expect(ensurePluginRegistryLoadedMock).toHaveBeenCalledWith({ scope: "all" }); }); - it("skips broad plugin preload for json local agent runs", async () => { + it("loads plugins for json local agent runs", async () => { await runPreAction({ parseArgv: ["agent"], processArgv: ["node", "openclaw", "agent", "--local", "--message", "hi", "--json"], @@ -257,7 +257,7 @@ describe("registerPreActionHooks", () => { commandPath: ["agent", "hi"], suppressDoctorStdout: true, }); - expect(ensurePluginRegistryLoadedMock).not.toHaveBeenCalled(); + expect(ensurePluginRegistryLoadedMock).toHaveBeenCalledWith({ scope: "all" }); }); it("keeps setup alias and channels add manifest-first", async () => {