Skip to content

feat(scheduler): let the nightly digest report every run - #123

Merged
wu908 merged 1 commit into
mainfrom
feat/nightly-digest-logs-every-run
Sep 16, 2026
Merged

wu908 merged 1 commit into
mainfrom
feat/nightly-digest-logs-every-run

Conversation

@wu908

@wu908 wu908 commented Sep 16, 2026

Copy link
Copy Markdown
Owner

Validating this job yesterday meant pointing its trigger a few minutes ahead, because nothing recorded whether it had run: with no user opted in it correctly does nothing, and doing nothing left no trace. The next person asking "did it run at 03:00" would have to rig the clock again.

It now logs one line per run with how many owners were opted in and how many deliverables were produced, so the 03:00 run is verifiable from the logs alone — including the ordinary case of nobody having the switch on yet.

A test asserts the line is emitted on a run with zero opted-in owners, which is exactly the case that used to be invisible.

Validating this job yesterday meant pointing its trigger a few minutes ahead,
because nothing recorded whether it had run: with no user opted in it correctly
does nothing, and doing nothing left no trace. The next person asking "did it
run at 03:00" would have to rig the clock again.

It now logs one line per run with how many owners were opted in and how many
deliverables were produced, so the 03:00 run is verifiable from the logs alone —
including the ordinary case of nobody having the switch on yet.
@wu908
wu908 merged commit 81d6f6d into main Sep 16, 2026
2 checks passed
@wu908
wu908 deleted the feat/nightly-digest-logs-every-run branch September 16, 2026 01: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