(row: ConnectionRow | null)
| 2107 | // Successful syncs also clear stale sync-failure health records, while |
| 2108 | // preserving genuine health-check outcomes. |
| 2109 | const stampSynced = (row: ConnectionRow | null) => |
| 2110 | core.updateMany("connection", { |
| 2111 | where: connectionWhere, |
| 2112 | set: syncedSet(row), |
| 2113 | }); |
| 2114 | const stampSyncedWithHealth = (reason: string) => |
| 2115 | core.updateMany("connection", { |
| 2116 | where: connectionWhere, |
no test coverage detected