mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:30:42 +00:00
fix(ci): stabilize full release validation
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user