Skip to content

Shorten the end-of-run summary - #6

Merged
HalRiveria merged 3 commits into
mainfrom
feature/shorter-summary
Dec 1, 2026
Merged

HalRiveria merged 3 commits into
mainfrom
feature/shorter-summary

Conversation

@HalRiveria-Bot

Copy link
Copy Markdown
Collaborator

The end-of-run summary printed every counter for the mode, zero or not, with a timestamp on each line: 12 lines for Full Pipeline, most of them zeros. Some labels were also wrong: the zip line's "Skipped (unconverted images)" also counted chapters skipped for errors or an abort, "Skipped (animated)" also counted file types that are never converted, and "could not determine if animated" also counted name clashes.

What it looks like now (real output, small test library with one broken image):

=== SUMMARY: Full Pipeline (00h 00m 02s) ===
Images    : 7 converted, 1 FAILED, 7 originals deleted
Chapters  : 3 zipped, 1 skipped, 3 folders deleted
Attention : 1 image failed, 1 chapter not zipped - see the Errors/Warnings logs
  • The header names the mode and the elapsed time, and says ABORTED if the run was. The separate "Time taken" and "Processing complete" lines are gone.
  • One row per kind of work that happened. Zero counts are left out, and deletes share a row with the conversion or zipping they follow.
  • Failures always show, including failed deletes, and are repeated on an Attention row that points to the logs. The pointer is left off when the only item is chapters an abort left unzipped, since the logs don't mention those.
  • "Left alone" covers name clashes and files that couldn't be checked for animation.
  • If nothing was counted, it says "Nothing was converted or zipped."
  • Console lines no longer have a timestamp and level. The full log still does. The Summary log file gets the same new lines.

Tests:

  • The Summary harness is rewritten for the new layout: exact output for a clean run and for a run where everything goes wrong, each mode showing only its own rows, aborted runs, and the console and log output checked against the real logging module with Clean Console Output on.
  • All harnesses pass on Windows PowerShell 5.1 with main merged in. The Summary harness also passes on PowerShell 7.
  • Ran the real Full Pipeline and Zip Folders on a small copied library and checked the output.

🤖 Generated with Claude Code

HalRiveria and others added 3 commits November 30, 2026 15:15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ay nothing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HalRiveria
HalRiveria merged commit e89f15d into main Dec 1, 2026
1 of 2 checks passed
@HalRiveria
HalRiveria deleted the feature/shorter-summary branch December 1, 2026 01:57
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.

2 participants