feat: handle Garmin MFA and activity retries

This commit is contained in:
Bastian Wagner
2026-08-15 16:33:16 +02:00
parent c2f13611b9
commit 6657124983
7 changed files with 221 additions and 3 deletions

View File

@@ -254,6 +254,11 @@ class SyncManager:
session.commit()
if not stop_user_run:
user.action_reason = None
user.health_state = HealthState.DEGRADED if failed_count > 0 else HealthState.HEALTHY
session.commit()
status = (
SyncRunStatus.SUCCESS
if failed_count == 0 and not stop_user_run