- _recover_stale_status(): returns True when corrected; changes message from internal '[Hub] Stale RUNNING...' to user-friendly text - _startup_recover_stale_status(): sets _update_recovery_happened flag when update recovery happens at startup - api_updates_status(): uses offset=0 when recovery happened so frontend receives the full log, not just a stale delta - pollUpdateStatus(): when reconnecting after server-down with update done, resets offset to 0, re-fetches full log, shows '[Server restarted — update completed successfully.]' instead of '[Server reconnected]' Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/90b535d1-bc3b-4147-9d62-3c7a93b1c8e4 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
133 KiB
133 KiB