fix(release): allow macOS snapshot selection in candidate smoke (#114144)

This commit is contained in:
Peter Steinberger
2026-07-26 14:08:31 -04:00
committed by GitHub
parent 6bbf1dd917
commit c16c0dbef4
5 changed files with 39 additions and 2 deletions
@@ -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",
]);
});