TASK-pilot-executor-outcomes qualify isolated CLI outcomes

This commit is contained in:
thePR0M3TH3AN committed 2026-09-30 21:00:06 -04:00
1 parent f4594e9a37
commit e26a0fb506
3 files changed
+215 -9

No files matched your search

+3 -3
View File
@@ -1122,7 +1122,7 @@ export async function runCli(argv = process.argv.slice(2), {
print(startFleet({
plan, controlPlane: control, adapters,
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES,
}),
}), { json });
@@ -1456,7 +1456,7 @@ export async function runCli(argv = process.argv.slice(2), {
print(startFleet({
plan, controlPlane: control, adapters,
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES,
}),
}), { json });
@@ -1631,7 +1631,7 @@ export async function runCli(argv = process.argv.slice(2), {
return startFleet({
plan, controlPlane: control, adapters,
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
timeout: 300_000, maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES, killSignal: 'SIGTERM',
}),
});