fix(shell): separate wait, idle, and runtime limits (#6228)
* fix(shell): separate wait, idle, and runtime limits * fix(shell): separate wait, idle, and runtime limits * fix(exec): preserve settings aliases and reclaim completed sessions * fix(webui): make shell runtime limits explicit
This commit is contained in:
1 parent
70ac000ad9
commit
6310a39bac
36 files changed
+2392
-564
No files matched your search
@@ -182,7 +182,8 @@ async def test_direct_process_timeout(tmp_path):
|
||||
result = await ExecTool(working_dir=str(tmp_path)).execute(
|
||||
command=[sys.executable, "-c", "import time; time.sleep(20)"], timeout=1,
|
||||
)
|
||||
assert "timed out after 1 seconds" in result
|
||||
assert "Reason: max_runtime" in result
|
||||
assert "Exit code:" in result
|
||||
|
||||
|
||||
async def test_direct_process_cancellation_reaps_child(tmp_path, monkeypatch):
|
||||
|
||||
Reference in new issue
Block a user