There was an error while loading. Please reload this page.
2 parents e26d098 + eac93c3 commit d3f56b6Copy full SHA for d3f56b6
1 file changed
src/lib/batch.ts
@@ -154,7 +154,7 @@ async function runBatchSequential(
154
});
155
156
const totalMs = Date.now() - jobStart;
157
- job.status = job.errors.length === job.project_ids.length ? "failed" : "completed";
+ job.status = job.project_ids.length > 0 && job.errors.length === job.project_ids.length ? "failed" : "completed";
158
job.completed_at = new Date().toISOString();
159
job.benchmark = {
160
total_ms: totalMs,
0 commit comments