(row: ConnectionRow | null)
| 2449 | // Successful syncs also clear stale sync-failure health records, while |
| 2450 | // preserving genuine health-check outcomes. |
| 2451 | const stampSynced = (row: ConnectionRow | null) => |
| 2452 | core.updateMany("connection", { |
| 2453 | where: connectionWhere, |
| 2454 | set: syncedSet(row), |
| 2455 | }); |
| 2456 | const stampSyncedWithHealth = (reason: string) => |
| 2457 | core.updateMany("connection", { |
| 2458 | where: connectionWhere, |
no test coverage detected