Skip to content

Stop polling upstream every five minutes - #50

Merged
shagkur merged 1 commit into
developfrom
feature/promote-upstream-cron
Aug 28, 2026
Merged

shagkur merged 1 commit into
developfrom
feature/promote-upstream-cron

Conversation

@shagkur

@shagkur shagkur commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

The */5 * * * * schedule on promote-to-upstream.yml has never fired. It reached master with the 08:21 UTC push today (9e79aa43) and produced zero runs in the following 6.5 hours, where it should have produced ~78. All 33 runs of this workflow so far came from pull_request (the earlier trigger, replaced in 9e79aa43) or from a manual dispatch:

Counter({'pull_request': 27, 'workflow_dispatch': 6})

Five minutes is GitHub's minimum permitted interval, not a service level, and it is the first thing dropped when the scheduler is under load. This repository is already starved — sync-upstream managed a single run in three days, 10.5 hours late, with the next window dropped outright (see #48). A public fork asking for 288 runs a day gets none of them.

Every successful run of this workflow so far has been a manual dispatch, so this makes workflow_dispatch the primary path and leaves an hourly check at 37 * * * * as a safety net for a manually-created upstream PR.

Note: the new schedule only takes effect once this reaches master — GitHub reads schedule triggers from the default branch only.

🤖 Generated with Claude Code

The */5 schedule has never fired. It was registered on master at 08:21
UTC today and produced zero runs in the following six and a half hours,
where it should have produced roughly 78. All 33 runs of this workflow
so far came from pull_request (the earlier trigger) or from a manual
dispatch.

Five minutes is GitHub's minimum permitted interval, not a service
level, and it is the first thing dropped when the scheduler is loaded.
This repository is already starved: sync-upstream managed a single run
in three days, 10.5 hours late, with the next window dropped outright.
A public fork asking for 288 runs a day gets none of them.

Every successful run of this workflow so far has been a manual
dispatch, so make that the primary path and leave an hourly check off
the top of the hour as a safety net for a manually-created upstream PR.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@shagkur
shagkur merged commit 0a28bb9 into develop Aug 28, 2026
7 checks passed
@shagkur
shagkur deleted the feature/promote-upstream-cron branch August 28, 2026 15:04
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