Skip to content

fix(sweep): restart hourly jobs that GitHub's scheduler skipped - #253

Merged
jamesconwaydev merged 1 commit into
mainfrom
sweep-watchdog-hourly
Nov 6, 2026
Merged

jamesconwaydev merged 1 commit into
mainfrom
sweep-watchdog-hourly

Conversation

@jamesconwaydev

Copy link
Copy Markdown
Collaborator

GitHub has been dropping our scheduled runs. Sync Likes (hourly, at :17) last ran on schedule at 12:13 UTC today, Create entry Discussions has fired about every six hours, and the 15-minute sweep only a handful of times. The crons are already off the hour, so that isn't the fix.

Any sweep that does run now acts as a watchdog:

  • Likes gets dispatched if no run has started in 2 hours. It has its own concurrency group, so this happens even while list-writes is busy.
  • on-merge gets dispatched under the same rule, but only when nothing else wants the single list-writes slot. A waiting run, an overdue health check or an undecided submission or report all go first.

Six new tests cover both paths. Full suite: 608 tests pass.

@jamesconwaydev
jamesconwaydev merged commit e30cbb5 into main Nov 6, 2026
9 checks passed
@jamesconwaydev
jamesconwaydev deleted the sweep-watchdog-hourly branch November 6, 2026 19:34
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