Fix summary showing all zeros: count unhandled statuses, clean up format

- Default case in handleResult now increments skipped_other
- Summary only shows non-zero categories (cleaner output)
- Applied count always shown

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 11:54:06 -08:00
parent 7c9de1af4a
commit 8db00d94a5
2 changed files with 8 additions and 8 deletions

View File

@@ -312,6 +312,7 @@ async function handleResult(job, result, results, settings, profile, apiKey) {
console.warn(` ⚠️ Unhandled status: ${status}`);
updateJobStatus(job.id, status, { title, company });
appendLog({ ...job, title, company, status });
results.skipped_other++;
}
}