Join canonical owned command cleanup before releasing package verifier workspaces. Replace raw package command wrappers, the updater supervisor, WASM cleanup composite, and boolean-only retention with explicit capability ownership. Preserve selected environments, npm arguments, no-deadline calls, clean exit status, and distinct aggregate/per-stream output budgets. Exercise actual timeout descendants, cancellation, retained cleanup retry, and workspace admission.
20 lines
747 B
JavaScript
20 lines
747 B
JavaScript
import { dirname, join } from "node:path";
|
|
|
|
/** Preserve the caller's npm entry and arguments without invoking a shell. */
|
|
export const npmInvocation = (arguments_, environment) => {
|
|
const selectedEntry = environment.npm_execpath;
|
|
if (
|
|