[PR #1554] [MERGED] Releases: in batches of 5 pull requests, or when the oldest has waited 6 hours #3583

Closed
opened 2026-11-03 04:10:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1554
Author: @ludovic111
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @ludovic111

Base: main ← Head: fix/release-batches


📝 Commits (1)

  • e61e634 Releases: in batches of 5 pull requests, or when the oldest has waited 6 hours

📊 Changes

4 files changed (+30 additions, -18 deletions)

View changed files

📝 .github/workflows/release.yml (+2 -2)
📝 docs/release-flow.md (+4 -5)
📝 tests/test_release_train.py (+10 -5)
📝 tools/release_train.py (+14 -6)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Why

Releasing 5 minutes after every merge made about 40 game releases in 31 hours. A player on Discord said that's hard to follow and suggested grouping about 5 fixes per release. Ludovic chose batches.

What

tools/release_train.py decision releases:

  • once 5 player-facing pull requests are waiting and the newest has settled for 5 minutes (the wave rule stays), or
  • once the oldest has waited 6 hours, however few they are (a lone fix still ships the same day; release.yml's 10-minute cron picks it up without a new merge), or
  • at once for release-now, as before. skip-release PRs still don't count, so they don't fill a batch.

The launcher uses the same rule. Blockers, RELEASES_PAUSED, force and the first release of a line are unchanged. The release.yml comment and docs/release-flow.md describe the new rule.

Check

python3 -m unittest tests.test_release_train: 18 tests OK. test_decision covers a settled batch, a batch still merging, 4 of 5, a lone fix at 5 h and at 6 h, merges that never pause, and skip-release not filling a batch.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/1554 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/release-batches` --- ### 📝 Commits (1) - [`e61e634`](https://github.com/horizon-rust/horizon/commit/e61e6345bc951793a098c451d0d6099190839a2c) Releases: in batches of 5 pull requests, or when the oldest has waited 6 hours ### 📊 Changes **4 files changed** (+30 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+2 -2) 📝 `docs/release-flow.md` (+4 -5) 📝 `tests/test_release_train.py` (+10 -5) 📝 `tools/release_train.py` (+14 -6) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## Why Releasing 5 minutes after every merge made about 40 game releases in 31 hours. A player on Discord said that's hard to follow and suggested grouping about 5 fixes per release. Ludovic chose batches. ## What `tools/release_train.py decision` releases: - once **5** player-facing pull requests are waiting and the newest has settled for 5 minutes (the wave rule stays), or - once the **oldest has waited 6 hours**, however few they are (a lone fix still ships the same day; release.yml's 10-minute cron picks it up without a new merge), or - **at once** for `release-now`, as before. `skip-release` PRs still don't count, so they don't fill a batch. The launcher uses the same rule. Blockers, `RELEASES_PAUSED`, force and the first release of a line are unchanged. The release.yml comment and docs/release-flow.md describe the new rule. ## Check `python3 -m unittest tests.test_release_train`: 18 tests OK. `test_decision` covers a settled batch, a batch still merging, 4 of 5, a lone fix at 5 h and at 6 h, merges that never pause, and skip-release not filling a batch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:10:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3583
No description provided.