()
| 187 | |
| 188 | /** A writer's checkpoint: the schema fields plus the chunk fence this write installs. */ |
| 189 | type SyncRunProgressWrite = SyncRunProgress & { chunkIndex: number }; |
| 190 | |
| 191 | const SyncLeaseSchema = z.object({ |
| 192 | runId: z.string().optional(), |
| 193 | chunkIndex: z.number().int().optional(), |
| 194 | expiresAt: z.string().optional(), |
| 195 | }); |
| 196 | |
| 197 | export type SyncResult = { |
| 198 | synced: number; |
| 199 | errors: number; |
| 200 | /** Repos where Dependabot alerts are permanently disabled (safe to skip) */ |
| 201 | skipped: number; |
| 202 | /** Repos where the GitHub installation requires reauthorization */ |
no outgoing calls
no test coverage detected