From 25d3f11243c6cf30f89afe983c4dafaa566eea97 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 01:15:20 +0100 Subject: [PATCH] fix: repair ci lint and clawhub fixtures --- src/channels/plugins/package-state-probes.ts | 2 +- test/plugin-clawhub-release.test.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/channels/plugins/package-state-probes.ts b/src/channels/plugins/package-state-probes.ts index 8023f60668f..df9da23e92a 100644 --- a/src/channels/plugins/package-state-probes.ts +++ b/src/channels/plugins/package-state-probes.ts @@ -85,7 +85,7 @@ function resolveChannelPackageStateChecker(params: { const allOf = metadata.env?.allOf ?? []; const anyOf = metadata.env?.anyOf ?? []; return ( - (allOf.length === 0 || allOf.every((key) => hasNonEmptyEnvValue(env, key))) && + allOf.every((key) => hasNonEmptyEnvValue(env, key)) && (anyOf.length === 0 || anyOf.some((key) => hasNonEmptyEnvValue(env, key))) ); }; diff --git a/test/plugin-clawhub-release.test.ts b/test/plugin-clawhub-release.test.ts index dea2ab32da9..716cb615e5a 100644 --- a/test/plugin-clawhub-release.test.ts +++ b/test/plugin-clawhub-release.test.ts @@ -115,6 +115,10 @@ describe("collectClawHubVersionGateErrors", () => { { name: "@openclaw/demo-plugin", version: "2026.4.1", + repository: { + type: "git", + url: "https://github.com/openclaw/openclaw", + }, openclaw: { extensions: ["./index.ts"], compat: { @@ -278,6 +282,10 @@ function createTempPluginRepo( { name: `@openclaw/${currentExtensionId}`, version: "2026.4.1", + repository: { + type: "git", + url: "https://github.com/openclaw/openclaw", + }, openclaw: { extensions: ["./index.ts"], ...(options.includeClawHubContract === false