|
|
@@ -208,9 +208,10 @@ function sdkStartupFailure(spec: SdkRunSpec, error: unknown): Error {
|
|
|
/**
|
|
|
* Start and publish one SDK runtime child after its `initialize` handshake.
|
|
|
* Child failures resolve through the run result. Startup rejects with fixed
|
|
|
- * safe facts after SDK-owned cleanup; successful cleanup proves process reap,
|
|
|
- * while cleanup failure preserves both causes without claiming quiescence.
|
|
|
- * Disposal shuts the runtime down and reaps it.
|
|
|
+ * safe facts after SDK-owned cleanup; successful cleanup proves process reap.
|
|
|
+ * Cleanup failure preserves initialize plus shutdown for an ordinary failure,
|
|
|
+ * or shutdown alone after cancellation, without claiming quiescence. Disposal
|
|
|
+ * shuts the runtime down and reaps it.
|
|
|
* @param request - the start request; its signal is the cancellation channel.
|
|
|
* @param spec - the resolved spawn spec: command/args/cwd, the child's
|
|
|
* provider/model route, env, timeouts, and the optional error sink.
|