ci: use org-owned Kova benchmark

This commit is contained in:
Peter Steinberger
2026-05-03 12:57:27 +01:00
parent adc4fd453b
commit 0fbb06e6df
3 changed files with 9 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { fileURLToPath, pathToFileURL } from "node:url";
import { collectRootPackageExcludedExtensionDirs } from "./lib/bundled-plugin-build-entries.mjs";
import { parsePackageRootArg } from "./lib/package-root-args.mjs";
import { installProcessWarningFilter } from "./process-warning-filter.mjs";
@@ -16,6 +17,7 @@ const { packageRoot } = parsePackageRootArg(
"OPENCLAW_BUNDLED_CHANNEL_SMOKE_ROOT",
);
const distExtensionsRoot = path.join(packageRoot, "dist", "extensions");
const excludedPackageExtensionDirs = collectRootPackageExcludedExtensionDirs({ cwd: packageRoot });
const installedLayoutEnv = "OPENCLAW_BUNDLED_CHANNEL_SMOKE_INSTALLED_LAYOUT";
function packageRootLooksInstalled(root) {
@@ -82,6 +84,9 @@ function collectBundledChannelEntryFiles() {
if (!packageJson.openclaw?.channel) {
continue;
}
if (excludedPackageExtensionDirs.has(dirent.name)) {
continue;
}
const extensionEntries =
Array.isArray(packageJson.openclaw.extensions) && packageJson.openclaw.extensions.length > 0