perf(webui): batch startup recovery and authenticate before React (#6708)
This commit is contained in:
1 parent
9652302324
commit
273582916b
26 files changed
+537
-330
No files matched your search
@@ -144,6 +144,7 @@ class _EmptyGatewaySessionManager:
|
||||
def state(self):
|
||||
return SimpleNamespace(
|
||||
list_sessions=AsyncMock(return_value=[]),
|
||||
recovery_candidates=AsyncMock(return_value=[]),
|
||||
migrate_history=AsyncMock(),
|
||||
record_delivery=AsyncMock(),
|
||||
aclose=AsyncMock(),
|
||||
@@ -3642,8 +3643,10 @@ def test_gateway_local_trigger_queue_submits_agent_turns(
|
||||
_fake_run_local_trigger_queue,
|
||||
)
|
||||
|
||||
from nanobot.cli.gateway_runtime import _run_gateway
|
||||
|
||||
with pytest.raises(typer.Exit) as exc_info:
|
||||
cli_commands._run_gateway(
|
||||
_run_gateway(
|
||||
config,
|
||||
health_server_enabled=False,
|
||||
unconfigured_provider_error=setup_error,
|
||||
|
||||
Reference in new issue
Block a user