Compare commits

..

1 Commits

Author SHA1 Message Date
122b890664 fix: watchdog test expects 5 checks including Kimi Heartbeat
Some checks failed
CI / test (pull_request) Failing after 1m30s
Review Approval Gate / verify-review (pull_request) Successful in 12s
CI / validate (pull_request) Failing after 1m32s
Closes #1534, fixes #1512
2026-04-15 03:34:05 +00:00
2 changed files with 4 additions and 6 deletions

View File

@@ -1,9 +1,7 @@
#!/usr/bin/env bash
# deploy.sh — spin up (or update) the Nexus staging environment
# Usage: ./deploy.sh — rebuild and restart nexus-main (host port 8765)
# ./deploy.sh staging — rebuild and restart nexus-staging (host port 8766)
#
# Both containers internally serve on 8765; docker-compose.yml maps host ports.
# Usage: ./deploy.sh — rebuild and restart nexus-main (port 8765)
# ./deploy.sh staging — rebuild and restart nexus-staging (port 8766)
set -euo pipefail
SERVICE="${1:-nexus-main}"

View File

@@ -293,7 +293,7 @@ class TestHealthReport:
class TestRunHealthChecks:
def test_returns_report_with_all_checks(self, tmp_path):
"""run_health_checks() returns a report with all four checks."""
"""run_health_checks() returns a report with all five checks."""
with patch("socket.socket") as mock_sock, \
patch("subprocess.run") as mock_run:
mock_sock.return_value.connect_ex.return_value = 0
@@ -303,7 +303,7 @@ class TestRunHealthChecks:
heartbeat_path=tmp_path / "missing.json",
)
assert len(report.checks) == 4
assert len(report.checks) == 5
check_names = {c.name for c in report.checks}
assert "WebSocket Gateway" in check_names
assert "Consciousness Loop" in check_names