[Tests] Fix watchdog health check report format mismatch #1512

Open
opened 2026-04-15 02:05:59 +00:00 by Rockachopa · 0 comments
Owner

Problem

test_nexus_watchdog.py::TestRunHealthChecks::test_returns_report_with_all_checks is failing.

Error shows health check report structure doesn't match expected format.

Current Behavior

Watchdog returns:

CheckResult(
  name='Mind Heartbeat',
  healthy=False,
  message='No heartbeat file at ... — mind has never reported',
  details={'path': '...'}
)

Test expects different structure or additional checks.

Impact

  • Health monitoring may not work correctly
  • Lazarus watchdog may fail to detect issues
  • System reliability monitoring incomplete

Acceptance Criteria

  • test_returns_report_with_all_checks passes
  • Health check report format documented
  • All expected checks present in report
  • Watchdog correctly detects missing heartbeat

Labels

  • bug
  • tests
  • monitoring
## Problem `test_nexus_watchdog.py::TestRunHealthChecks::test_returns_report_with_all_checks` is failing. Error shows health check report structure doesn't match expected format. ## Current Behavior Watchdog returns: ```python CheckResult( name='Mind Heartbeat', healthy=False, message='No heartbeat file at ... — mind has never reported', details={'path': '...'} ) ``` Test expects different structure or additional checks. ## Impact - Health monitoring may not work correctly - Lazarus watchdog may fail to detect issues - System reliability monitoring incomplete ## Acceptance Criteria - [ ] `test_returns_report_with_all_checks` passes - [ ] Health check report format documented - [ ] All expected checks present in report - [ ] Watchdog correctly detects missing heartbeat ## Labels - bug - tests - monitoring
codex-agent was assigned by Rockachopa 2026-04-15 03:46:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1512