Skip to content

chore: run Renovate overnight and remove the concurrent pull request limit - #52

Merged
panicboat merged 4 commits into
mainfrom
chore/renovate-overnight-schedule
Nov 1, 2026
Merged

panicboat merged 4 commits into
mainfrom
chore/renovate-overnight-schedule

Conversation

@panicboat

@panicboat panicboat commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

What This PR Does

Renovate が PR を作る時間帯を、日曜の夜から金曜の朝までの夜間に広げます。
同時に開ける PR の数の上限も外します。

What Needs to Change

  • PR を作る時間帯が平日の 0 時から 4 時までに限られている。
    • Reason: 直近の集計では、4 時間のうち PR が出るのは 1〜3 時間だけで、5 件ずつ固まって届いている。
  • 同時に開ける PR の数に上限がある。
    • Reason: 上限を設けた理由が記録になく、実際にもほとんど当たっていない。

What Changes for Users

  • Renovate の PR が届く時間帯(JST)が変わる。
    • Before: 月曜から金曜の 0 時〜4 時。
    • After: 日曜から木曜の 21 時〜翌 9 時。
  • 1 晩に作られる PR の上限が増える。
    • Before: 1 時間 5 件 × 4 時間で 20 件。
    • After: 1 時間 5 件 × 12 時間で 60 件。
  • 同時に開ける PR の上限がなくなる。
    • Before: 15 件。
    • After: 上限なし。

What to Review Closely

なし

What Was Decided

  • 時間帯は日曜 21 時から金曜 9 時までの夜間とする。
    • 理由: 平日の夜から翌朝までの間に PR が届くようにしたい。
    • 間違っていたときの影響: 届く時間が合わないだけで、この設定を直せば戻せる。
  • 1 時間あたりの PR の上限は変えない。
    • 理由: 時間帯を広げるだけで PR の出る時間が分散すると見込んでいる。
    • 間違っていたときの影響: 固まって届く状況が続くので、上限の調整を別途検討する。
  • 同時に開ける PR の上限を外す。
    • 理由: 制限する理由がなく、merge 待ちの PR が枠を使って新しい PR を止めることもなくなる。
    • 間違っていたときの影響: automerge が止まると PR が溜まり続けるので、上限を戻す。

What Else Is Affected

Documents

  • 利用規約
  • プライバシーポリシー
  • ドキュメント

Systems & Operations

  • この preset を読む panicboat/monorepo と panicboat/platform にも、merge 後に同じ時間帯が適用される。
    • 両リポジトリ側の対応は不要。

How It Was Verified

  • npx --package renovate@44.199.0 renovate-config-validator default.json .github/renovate.json
    • 結果: Config validated successfully against 2 file(s)
  • renovate 44.199.0 の isScheduledNow に時刻を差し替えて渡し、1 週間を 1 時間ごとに判定した。
    • 結果: 日曜 21〜23 時、月〜木曜 0〜8 時と 21〜23 時、金曜 0〜8 時だけが対象になり、土曜は対象外。
    • 各時間の 0 分と 59 分で判定が同じことも確認した。
  • 直近 300 件の Renovate の PR で、同時に開いていた数を集計した。
    • 結果: 15 件以上だった時間の割合は panicboat/monorepo が 0.4%、panicboat/platform が 0%。
  • 実際の Renovate の実行で PR が分散するかは、merge 後でないと確認できない。

🤖 Generated with Claude Code

https://claude.ai/code/session_01N1XYRrKcPyj1jQTndyLNhZ

The window of 0:00 to 4:00 JST let only one to three hours of each night
produce pull requests, so they arrived in clumps of five.
Cron syntax is used because a window that crosses midnight needs one entry
for each side of it.

Claude-Session: https://claude.ai/code/session_01N1XYRrKcPyj1jQTndyLNhZ
Signed-off-by: panicboat <panicboat@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 427a3e32-84ed-4a2b-9bfb-16fd22838b5d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Claude-Session: https://claude.ai/code/session_01N1XYRrKcPyj1jQTndyLNhZ
Signed-off-by: panicboat <panicboat@gmail.com>
The value of 15 has no recorded reason and was rarely reached, while pull
requests waiting for a manual merge keep using its slots.
prHourlyLimit stays because it is what spreads pull requests over the night.

Claude-Session: https://claude.ai/code/session_01N1XYRrKcPyj1jQTndyLNhZ
Signed-off-by: panicboat <panicboat@gmail.com>
@panicboat panicboat changed the title chore: run Renovate overnight from Sunday night to Friday morning chore: run Renovate overnight and remove the concurrent pull request limit Nov 1, 2026
@panicboat
panicboat marked this pull request as ready for review November 1, 2026 17:25
@panicboat
panicboat merged commit 6421e89 into main Nov 1, 2026
9 checks passed
@panicboat
panicboat deleted the chore/renovate-overnight-schedule branch November 1, 2026 17:26
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