fix(exec): yield long-running commands by default (NAN-328) (#6385)

* fix(exec): yield long-running commands by default (NAN-328)

* test(exec): avoid waiting for already observed output

* test(exec): observe hard-timeout cleanup before asserting completion
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-22 13:27:26 +08:00
1 parent 421bd6b593
commit 26e1f41a00
14 files changed
+164 -49

No files matched your search

+1 -1
View File
@@ -762,7 +762,7 @@ def format_session_poll(session_id: str, poll: _SessionPoll) -> str:
nullable=True,
),
until_exit=BooleanSchema(
description="Wait for the process to exit.",
description="Wait for exit within timeout_ms; return the active session if the wait expires.",
default=False,
),
timeout_ms=IntegerSchema(