Files
rea/scripts/lib/verify-package-commands.mjs
T
morluto d9660eb032 fix(verifiers): share package command and workspace ownership
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.
2026-10-24 16:58:18 +08:00

14 lines
450 B
JavaScript

let implementation;
/** Load the development owner as one source graph, only when commands are needed. */
export async function createPackageVerifierCommands(options) {
implementation ??= import("tsx/esm/api").then(({ tsImport }) =>
tsImport(
new URL("./package-command-owner.mts", import.meta.url).href,
import.meta.url,
),
);
const module = await implementation;
return module.createPackageVerifierCommands(options);
}