feat(plugins): add managed runtime SDK and release 2.4.5
This commit is contained in:
1 parent
506e3bf1c5
commit
2a3bbaa3fb
45 files changed
+3348
-98
No files matched your search
@@ -202,10 +202,12 @@ async def test_shutdown_marks_only_ui_owned_running_sessions():
|
||||
"apps.admin_console.server.ipc_service.stop_server",
|
||||
new=AsyncMock(),
|
||||
),
|
||||
patch("apps.admin_console.server.DeviceExecutionLock.cleanup_stale_locks") as cleanup_locks,
|
||||
):
|
||||
await on_shutdown()
|
||||
|
||||
update_status.assert_called_once_with("ui-running", "interrupted")
|
||||
cleanup_locks.assert_called_once_with()
|
||||
assert state.queue_items == []
|
||||
state.active_session_id = None
|
||||
state.is_shutting_down = False
|
||||
|
||||
Reference in new issue
Block a user