feat(ogcore): update client status from agent heartbeat busy field #109

Merged
narenas merged 1 commits from notify_ogagent_status into main 2026-05-08 07:10:06 +02:00

1 Commits (main)

Author SHA1 Message Date
Nicolas Arenas 90f06de0a0 feat(ogcore): update client status from agent heartbeat busy field
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
- StatusController: process 'busy' and 'st' fields from agent heartbeat
  to keep client status in sync without waiting for a command response.
  busy:true sets BUSY; busy:false reverts to og-live/linux/windows/macos
  based on the 'st' field sent by the agent
- StatusController: add detailed logging for all status transitions
  (heartbeat and REBOOT/POWEROFF) visible via journalctl -t ogcore
- PowerOffAction, RebootAction: distinguish HTTP 409 (agent busy) from
  500 (agent error) and enqueue the command in both cases
2026-05-08 07:03:08 +02:00