Skip to content

sync-all: report a run total - #24

Merged
edsu merged 1 commit into
mainfrom
sync-all-total
Aug 13, 2026
Merged

edsu merged 1 commit into
mainfrom
sync-all-total

Conversation

@edsu

@edsu edsu commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

The per-org counts were already returned by _sync_org but never tallied, so a
cron log or --log file had to be added up by hand.

Sum them into one line for the whole run:

brown: 3 resources processed, 4 changed, 1 deleted
total: 3 resources from 1 organization, 4 records changed, 1 deleted, in a moment

Honors --log, so it lands in the log file rather than the console when that's set.

Split out of #23 — it was pushed just after that PR merged.

🤖 Generated with Claude Code

The per-org counts were already there but never tallied, so a cron log or --log
file had to be added up by hand. Sum them into one line for the run: resources
processed, organizations that had work, records changed and deleted, and elapsed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@edsu
edsu merged commit 5f794c4 into main Aug 13, 2026
1 check passed
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