mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-10 04:27:42 +08:00
test(code-runtime): complete sandboxed process coverage and catalogs
This commit is contained in:
@@ -64,6 +64,8 @@ export async function runNodeMain(stream: Duplex, maxMessageBytes: number, proce
|
||||
await channel.drain()
|
||||
} finally {
|
||||
channel.close()
|
||||
// Transport callbacks can set failed while the awaited program executes.
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-condition
|
||||
if (failed) processState.exitCode = 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user