mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
fix(release): allow macOS snapshot selection in candidate smoke (#114144)
This commit is contained in:
committed by
GitHub
parent
6bbf1dd917
commit
c16c0dbef4
@@ -137,6 +137,15 @@ describe("parallels npm update smoke", () => {
|
||||
).toThrow("--registry-package-tarball requires --target-tarball");
|
||||
});
|
||||
|
||||
it("passes an explicit macOS snapshot hint through fresh lanes", () => {
|
||||
expect(
|
||||
parseArgs(["--platform", "macos", "--macos-snapshot-hint", "macOS 26.5 Node 24"]),
|
||||
).toMatchObject({
|
||||
macosSnapshotHint: "macOS 26.5 Node 24",
|
||||
platforms: new Set(["macos"]),
|
||||
});
|
||||
});
|
||||
|
||||
it("stops the host artifact server when the wrapper fails mid-run", async () => {
|
||||
let stopCalls = 0;
|
||||
const server: HostServer = {
|
||||
|
||||
@@ -543,6 +543,7 @@ describe("release candidate checklist", () => {
|
||||
[".artifacts/preflight/openclaw-ai.tgz"],
|
||||
"/trusted",
|
||||
[".artifacts/preflight/openclaw-codex.tgz"],
|
||||
"macOS 26.5 Node 24",
|
||||
),
|
||||
).toEqual([
|
||||
"exec",
|
||||
@@ -554,6 +555,8 @@ describe("release candidate checklist", () => {
|
||||
".artifacts/preflight/openclaw-ai.tgz",
|
||||
"--registry-package-tarball",
|
||||
".artifacts/preflight/openclaw-codex.tgz",
|
||||
"--macos-snapshot-hint",
|
||||
"macOS 26.5 Node 24",
|
||||
"--json",
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user