Arnaud Dartois
|
3fc42be4b2
|
test(agent): add unit tests for AgentState, AgentHealthCheck, AgentRegistrationService
13 tests covering:
- AgentState file persistence (save, load, corrupt file, empty ID, clear)
- AgentHealthCheck (healthy, degraded, unhealthy states)
- AgentRegistrationService (successful registration, retry on failure,
all retries exhausted, reuse existing identity, offline heartbeat on stop)
|
2026-07-18 14:16:13 +00:00 |
|