test: cover persist_on_release in sandbox stub contracts and shutdown kill fakes
The four CI reds from #41225:
- persist_on_release is a background-only terminal modifier: join the
sandbox blocked sets (precedent: heartbeat, 9acd0d33b6) in
_TERMINAL_BLOCKED_PARAMS and the stub-drift tests' mirrors.
- The gateway shutdown sweep passes source="gateway_shutdown" so
persisted jobs are still killed on host exit; the two shutdown tests'
kill_all fakes now accept and assert that kwarg instead of raising
TypeError that _quiet_step silently swallowed.
This commit is contained in:
committed by
brooklyn!
parent
ec5c9c738a
commit
ac2ffe60d0
@@ -22,7 +22,7 @@ from tools.registry import tool_error
|
||||
logger = logging.getLogger("tools.code_execution_tool")
|
||||
|
||||
# Terminal parameters that must not be used from ephemeral sandbox scripts.
|
||||
_TERMINAL_BLOCKED_PARAMS = {"background", "pty", "notify", "notify_on_complete", "watch_patterns", "heartbeat"}
|
||||
_TERMINAL_BLOCKED_PARAMS = {"background", "pty", "notify", "notify_on_complete", "watch_patterns", "heartbeat", "persist_on_release"}
|
||||
|
||||
|
||||
def _default_dispatch(task_id):
|
||||
|
||||
Reference in New Issue
Block a user