[PR #5871] [MERGED] Release train: look back 50 parity-main runs, not 10 #6528

Closed
opened 2026-11-03 06:22:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5871
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/release-green-window


📝 Commits (1)

  • 7a6ff6c Release train: look back 50 parity-main runs, not 10

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 tools/release_train.py (+3 -1)

📄 Description

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

No Nightly has gone out since d91cab6 (2026-10-31 16:58Z), even though parity-main passed on bd8c53bfa this morning.

green_main_head(parity=True) reads only the last 10 parity-main push runs and skips the cancelled ones. Every merge cancels the run before it (concurrency: parity-main). After a busy hour of merges, all 10 were cancelled or still running, so the function returned None and decide said "main's latest checks did not pass or parity-main did not pass on them". Checked with a local release_train.py decide --kind game.

This raises the window to 50. Nothing else changes: the newest finished run still decides, and a failure still holds releases. tests/test_release_train.py: 25 tests pass.

🤖 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/5871 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/release-green-window` --- ### 📝 Commits (1) - [`7a6ff6c`](https://github.com/horizon-rust/horizon/commit/7a6ff6cc323fce31daf3b1098d7c8df9210be9ab) Release train: look back 50 parity-main runs, not 10 ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/release_train.py` (+3 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. No Nightly has gone out since d91cab6 (2026-10-31 16:58Z), even though parity-main passed on bd8c53bfa this morning. `green_main_head(parity=True)` reads only the last 10 parity-main push runs and skips the cancelled ones. Every merge cancels the run before it (`concurrency: parity-main`). After a busy hour of merges, all 10 were cancelled or still running, so the function returned None and `decide` said "main's latest checks did not pass or parity-main did not pass on them". Checked with a local `release_train.py decide --kind game`. This raises the window to 50. Nothing else changes: the newest finished run still decides, and a failure still holds releases. `tests/test_release_train.py`: 25 tests pass. 🤖 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 06:22:28 +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#6528
No description provided.