fix(ci): stabilize full release validation

This commit is contained in:
Peter Steinberger
2026-04-28 23:54:38 +01:00
parent 490e6d6dc5
commit 955b4df093
14 changed files with 98 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ import { describe, expect, it } from "vitest";
import { LOCAL_BUILD_METADATA_DIST_PATHS } from "../../scripts/lib/local-build-metadata-paths.mjs";
import {
agentOutputHasExpectedOkMarker,
buildCrossOsReleaseSmokePluginAllowlist,
buildReleaseOnboardArgs,
buildWindowsDevUpdateToolchainCheckScript,
buildWindowsFreshShellVersionCheckScript,
@@ -111,6 +112,15 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
);
});
it("keeps release smoke plugin allowlists focused on agent-turn essentials", () => {
const allowlist = buildCrossOsReleaseSmokePluginAllowlist({ extensionId: "openai" });
expect(allowlist).toEqual(expect.arrayContaining(["openai", "memory-core", "acpx"]));
expect(allowlist).not.toContain("document-extract");
expect(allowlist).not.toContain("microsoft");
expect(allowlist).not.toContain("web-readability");
});
it("keeps cross-OS live smoke agent turns on minimal thinking", () => {
const source = readFileSync("scripts/openclaw-cross-os-release-checks.ts", "utf8");

View File

@@ -148,6 +148,10 @@ describe("bundled plugin postinstall", () => {
).toEqual({
HOME: "/tmp/home",
npm_config_dry_run: "false",
npm_config_fetch_retries: "5",
npm_config_fetch_retry_maxtimeout: "120000",
npm_config_fetch_retry_mintimeout: "10000",
npm_config_fetch_timeout: "300000",
npm_config_legacy_peer_deps: "true",
npm_config_package_lock: "false",
npm_config_save: "false",

View File

@@ -18,5 +18,6 @@ describe("scripts/test-live-cli-backend-docker.sh", () => {
expect(forwardedVars).toContain("OPENCLAW_LIVE_CLI_BACKEND_ARGS");
expect(forwardedVars).toContain("OPENCLAW_LIVE_CLI_BACKEND_RESUME_ARGS");
expect(forwardedVars).toContain("OPENCLAW_TEST_CONSOLE");
});
});