Repository navigation
ci(dependabot): cap the auto-merge job at 30 minutes - #415
Conversation
lewagon/wait-on-check-action polls until every other check on the head finishes. On 2026-11-16 (run 43838013402, PR #413) it polled for 6 hours until the default job timeout cancelled it. CI's longest run in the last 7 days took about 9 minutes, so 30 minutes leaves room while freeing the runner if a check never finishes. Requested by [email protected] Co-Authored-By: Claude Opus 5.5 <[email protected]>
commit: |
|
Automated post-merge check by s2d2 for [email protected] Verdict: no signal yet. Merged at 17:17:34Z as 800ea49.
I'll check again in about 24 hours. |
|
Automated post-merge check by s2d2 for [email protected] (second look, 2026-11-21 17:30 UTC) Verdict: no signal yet. Nothing has regressed.
There will be one more look by 2026-11-27. If no Dependabot run happens before then, it will be reported as "never observed". |
|
Automated post-merge check by s2d2 for [email protected] (final look, 2026-11-27 17:00 UTC) Verdict: works. The 30 minute cap fired as intended. The same run also exposed the bug behind the hang. Observed. On 2026-11-23, Dependabot PR #413 started run 45145167052.
Why it hung. The wait step sets
Suggested follow-up (not applied here). One line in This is the last automated look at this PR. |
On 2026-11-16 the
Dependabot auto-mergejob on #413 waited inlewagon/wait-on-check-actionfor 6 hours until GitHub's default job timeout cancelled it, so auto-merge was never enabled and the runner was held for 361 billed minutes. This caps the job at 30 minutes.Before and after
CIrun on a PR, last 7 daysVerification
actionlintclean.gh pr merge --autostep cannot run after it: that step keeps its implicitsuccess()condition.Risk
If a check takes longer than 30 minutes, auto-merge is not enabled for that Dependabot PR and the job needs a re-run, which is what happens today after 6 hours.
No runtime change, no demo.
Requested by [email protected]
🤖 Generated with Claude Code
Summary by cubic
Caps the
Dependabot auto-mergejob at 30 minutes. Previously, the wait-on-check step polled until GitHub's 6-hour default job timeout cancelled the run, which held a runner for 361 billed minutes and left the PR without auto-merge. CI's longest run in the last 7 days took about 9 minutes, so 30 minutes leaves ample headroom; if a check takes longer, auto-merge is skipped and the job needs a re-run, which already happens today after 6 hours.Written for commit 20c0aba. Summary will update on new commits.