From e3790a4d8dadf3c3166cb12d2664b9c46953c349 Mon Sep 17 00:00:00 2001 From: Matthew Goodwin Date: Mon, 2 Nov 2026 18:47:44 -0600 Subject: [PATCH] deps.lock: pin the bundled node for the packs' Lore selectors Co-Authored-By: Claude Fable 5.1 --- lib/__tests__/deps-lock-file.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/__tests__/deps-lock-file.test.ts b/lib/__tests__/deps-lock-file.test.ts index 9132310fc6..6435a4a0a6 100644 --- a/lib/__tests__/deps-lock-file.test.ts +++ b/lib/__tests__/deps-lock-file.test.ts @@ -56,6 +56,14 @@ describe("rt-tray/deps.lock", () => { expect(by["age"]?.version).toBe(by["age-keygen"]!.version); expect(by["age"]?.extract).toBe("age/age"); }); + // Team packs' Lore rule selectors run their vendored bundle on this node via + // `rt deps resolve node`; dropping it breaks those reviews. + test("node stays a bundled helper under Contents/Helpers", () => { + const node = lock.tools.find((t) => t.name === "node"); + expect(node?.kind).toBe("helper"); + expect(node?.status).toBe("bundled"); + expect(node?.bundlePath?.startsWith("Contents/Helpers/")).toBe(true); + }); // Upstream publishes no darwin binary and the Homebrew bottle links brew-only // dylibs, so zstd is compiled from its sha-pinned release tarball. test("zstd builds from the upstream source tarball", () => {