Files
openclaw/scripts/lib/bounded-command.mjs
PollyBot13andAyaan Zaidi f46f9b5aa3 fix(release): bound ClawHub publish without GNU timeout (#125296)
Allow ClawHub release validation and publish retries to stay bounded on stock macOS by using the existing managed-process owner when GNU timeout is unavailable.

Preserve the GNU timeout path and status 124 retry contract. Verify TERM-before-KILL cleanup, descendant exit, and release-plan ownership for the portable fallback.

Closes #125295

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-08-30 18:53:07 +05:30

9 lines
316 B
JavaScript

import { runTsxCliShim } from "./tsx-cli-shim.mjs";
await runTsxCliShim(import.meta.url, {
// The managed child owner may spend 5s on TERM grace and another 5s
// verifying tree exit. Keep the launcher alive beyond that cleanup window.
forceKillDelayMs: 15_000,
implementation: "./bounded-command.mts",
});