feat(ogcore): update client status from agent heartbeat busy field #109
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "notify_ogagent_status"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
feat(ogcore): update client status from agent heartbeat busy field
Summary
busy(bool) yst(tipo de OS:OGL/LNX/WIN/OSX).StatusControllerlos procesa para mantener el estado del cliente sincronizado sin esperar a la
respuesta de un comando:
busy: true→ establece el estadoBUSYbusy: falsemientras el cliente está enBUSY→ revierte al estado idlecorrecto (
og-live,linux,windows,macos) según el campost(heartbeat y REBOOT/POWEROFF) quedan registrados en syslog
(
journalctl -t ogcore) con el estado anterior/nuevo y el tipo de OSPowerOffActionyRebootActionahora distinguen HTTP 409 (agente ocupado) de 500 (error del agente) y encolan
el comando en ambos casos, no solo en caso de error
Test plan
busyen ogGUI en menos de 10 segundos (siguiente heartbeat)og-livesinsincronización manual
linux/windowsrespectivamentequeda en cola (traza en estado
PENDING)journalctl -t ogcore -fdurante los pasos anteriores y verificarque aparecen las entradas de transición de estado
🤖 Generated with Claude Code