Merge branch 'main' into feat/dashboard-skill-analytics

This commit is contained in:
Austin Pickett 2026-04-20 05:25:49 -07:00 committed by GitHub
commit 720e1c65b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1022 changed files with 157411 additions and 17823 deletions

View file

@ -1199,6 +1199,7 @@ class TestStatusRemoteGateway:
assert data["gateway_running"] is True
assert data["gateway_pid"] == 999
assert data["gateway_state"] == "running"
assert data["gateway_health_url"] == "http://gw:8642"
def test_status_remote_probe_not_attempted_when_local_pid_found(self, monkeypatch):
"""When local PID check succeeds, the remote probe is never called."""
@ -1235,6 +1236,7 @@ class TestStatusRemoteGateway:
assert resp.status_code == 200
data = resp.json()
assert data["gateway_running"] is False
assert data["gateway_health_url"] is None
def test_status_remote_running_null_pid(self, monkeypatch):
"""Remote gateway running but PID not in response — pid should be None."""