(manifest: BatchManifest)
| 371 | } |
| 372 | |
| 373 | function markUnstartedRowsSkipped(manifest: BatchManifest): void { |
| 374 | for (const row of manifest.rows) { |
| 375 | if (row.status !== "pending") continue; |
| 376 | row.status = "skipped"; |
| 377 | row.error = "Skipped after --batch-fail-fast."; |
| 378 | row.completedAt = new Date().toISOString(); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | export async function runBatchRender(options: RunBatchRenderOptions): Promise<BatchManifest> { |
| 383 | if (options.concurrency < 1) { |