(row: ConnectionRow | null)
| 2182 | // Successful syncs also clear stale sync-failure health records, while |
| 2183 | // preserving genuine health-check outcomes. |
| 2184 | const stampSynced = (row: ConnectionRow | null) => |
| 2185 | core.updateMany("connection", { |
| 2186 | where: connectionWhere, |
| 2187 | set: syncedSet(row), |
| 2188 | }); |
| 2189 | const stampSyncedWithHealth = (reason: string) => |
| 2190 | core.updateMany("connection", { |
| 2191 | where: connectionWhere, |
no test coverage detected