Skip to content

Updated Renovate workflow cron offset and timeout#28196

Merged
9larsons merged 1 commit into
mainfrom
pla-48-renovate-cron-timeout-tuning
May 27, 2026
Merged

Updated Renovate workflow cron offset and timeout#28196
9larsons merged 1 commit into
mainfrom
pla-48-renovate-cron-timeout-tuning

Conversation

@9larsons
Copy link
Copy Markdown
Contributor

ref https://linear.app/ghost/issue/PLA-48

Why

First day on 0 * * * * surfaced two issues:

  1. GitHub Actions dropped every even-hour tick. Since hourly landed, every UTC even hour (00, 02, 04, 06, 08, 10) failed to fire; only odd hours started runs. GH's docs flag the top of every hour as the worst scheduler-delivery window. 17 * * * * puts us off the contended slot.
  2. 30m timeout was firing on real work. Most runs hit timeout-minutes: 30 mid-rebase or mid-lockfile-maintenance across the current 29-PR backlog. Raising to 45 lets catch-up cycles finish; can drop back to 30 once the queue steadies.

ref https://linear.app/ghost/issue/PLA-48

Two compounding issues seen on the first day of `0 * * * *`:

- GH Actions consistently dropped top-of-hour scheduled ticks. Every
  even-hour UTC fire (00, 02, 04, 06, 08, 10) since the hourly cron
  landed was lost, leaving us at de-facto every-other-hour. The Actions
  docs specifically call out the start of every hour as the worst
  delivery window. Moving to `17 * * * *` puts us off the contended
  slot.
- 30m runs were hitting `timeout-minutes: 30` with real work still in
  flight (rebases, lockfile maintenance across 29 open PRs). Bumped to
  45 so the catch-up cycles can finish cleanly while the backlog
  drains; this can drop back to 30 once the queue is steady.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 66095682-8a6c-4d89-859f-4521502cd312

📥 Commits

Reviewing files that changed from the base of the PR and between 7b7db30 and 963e5e3.

📒 Files selected for processing (1)
  • .github/workflows/renovate.yml

Walkthrough

This PR adjusts the Renovate GitHub Actions workflow configuration in .github/workflows/renovate.yml. It changes the hourly cron trigger from running at minute 0 to minute 17, with updated inline comments reflecting the new timing. Additionally, the job timeout is increased from 30 to 45 minutes to accommodate longer execution time.

Possibly related PRs

  • TryGhost/Ghost#28130: Both PRs modify the same Renovate GitHub Actions workflow by adjusting cron schedule and job timeout configuration.
  • TryGhost/Ghost#28157: Both PRs modify the Renovate GitHub Actions workflow cron schedule to tune hourly timing behavior.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the two main changes: updating the Renovate workflow's cron schedule offset and increasing the timeout.
Description check ✅ Passed The description is directly related to the changeset, providing clear context for both modifications with specific technical reasoning about GitHub Actions scheduler behavior and workflow timeout issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pla-48-renovate-cron-timeout-tuning

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@9larsons 9larsons enabled auto-merge (squash) May 27, 2026 13:01
@9larsons 9larsons merged commit 3921c8c into main May 27, 2026
31 checks passed
@9larsons 9larsons deleted the pla-48-renovate-cron-timeout-tuning branch May 27, 2026 13:02
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