From b9a0180c1a96cf0fd0448cc69d6f47a5de8d258e Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 4 Oct 2026 21:16:40 -0500 Subject: [PATCH] Cover the vendored readiness dependency surface Include live/index.js in the server dependency inventory now that production configuration probes import that boundary. Co-Authored-By: Paperclip --- server/scripts/verify-runner-vendor-dependencies.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/scripts/verify-runner-vendor-dependencies.mjs b/server/scripts/verify-runner-vendor-dependencies.mjs index 16634ae7552..26bf6f3918d 100644 --- a/server/scripts/verify-runner-vendor-dependencies.mjs +++ b/server/scripts/verify-runner-vendor-dependencies.mjs @@ -12,7 +12,7 @@ // (#13116) -- because nothing enforced it. // // This derives the required set from esbuild's own module-resolution scan -// of the two entry points server actually imports (index.js, testing.js), +// of the entry points server actually imports (index.js, testing.js, live/index.js), // with `write: false` so nothing is written to disk and `packages: // "external"` so npm imports are reported, not inlined. That is precise: // paperclip-runner declares dependencies (react-markdown, the codex/opencode @@ -43,9 +43,8 @@ const runnerRoot = resolve(serverRoot, "../packages/paperclip-runner"); const runnerDist = resolve(runnerRoot, "dist"); // The only entry points server/src actually imports from the vendored -// runner (server/src/**/*.ts import "../vendor/paperclip-runner/index.js" -// or ".../testing.js"). -const ENTRY_POINT_NAMES = ["index.js", "testing.js"]; +// runner, including the installed-runtime readiness probe surface. +const ENTRY_POINT_NAMES = ["index.js", "testing.js", "live/index.js"]; const NODE_BUILTINS = new Set([ ...builtinModules,