(row: ConnectionRow | null)
| 2590 | // Successful syncs also clear stale sync-failure health records, while |
| 2591 | // preserving genuine health-check outcomes. |
| 2592 | const stampSynced = (row: ConnectionRow | null) => |
| 2593 | core.updateMany("connection", { |
| 2594 | where: connectionWhere, |
| 2595 | set: syncedSet(row), |
| 2596 | }); |
| 2597 | const stampSyncedWithHealth = (reason: string) => |
| 2598 | core.updateMany("connection", { |
| 2599 | where: connectionWhere, |
no test coverage detected