mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 06:52:04 +00:00
The webhook-driven per-resource sync advanced the resource cursor but never touched IntegrationStatus, so lastSuccessAt stayed frozen at the last full poll — the Settings 'last synced' pill and the integration-status read reported stale for up to an hour after a webhook had already landed last night's data. Stamp recordSyncSuccess per resource, reusing the full sync's exact success guard (a genuine import clears the error state; a 403 soft-skip leaves the looks-healthy window closed).