Skip to content

Add batch pass/fail summary and exit codes - #1

Merged
TimoKuronen merged 1 commit into
mainfrom
feature/batch-summary-exit-codes
Sep 9, 2026
Merged

TimoKuronen merged 1 commit into
mainfrom
feature/batch-summary-exit-codes

Conversation

@TimoKuronen

@TimoKuronen TimoKuronen commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Targets batch now prints a per-file PASS/FAIL summary after all audits
  • Batch maps AuditRunResult to process exit codes 0/1 (same contract as sniff; empty batch exits 1)
  • Adds unit tests for ExitCode and summary formatting; updates README and architecture CLI table
  • Batch still waits for Enter after completion (interactive desk path)

Test plan

  • Batch: pass/fail summary and process exit 0/1 (empty batch → 1)
  • dotnet test: 30 passing
  • CI green on this PR

- Map AuditRunResult to process exit 0/1 for Targets batch
- Print per-file PASS/FAIL summary after batch runs
- Cover ExitCode and summary formatting with unit tests
- Document batch exit behavior in README and architecture
@TimoKuronen
TimoKuronen merged commit 16f544d into main Sep 9, 2026
1 check passed
@TimoKuronen
TimoKuronen deleted the feature/batch-summary-exit-codes branch September 9, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant