[PR #2312] [MERGED] Release notes: preserve wrapped known issues #4197

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2312
Author: @rdbtCVS
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: t3/preserve-release-issue-wrapping


📝 Commits (1)

  • 442d52a Release notes: preserve wrapped known issues

📊 Changes

2 files changed (+37 additions, -3 deletions)

View changed files

📝 tests/test_release_train.py (+26 -2)
📝 tools/release_train.py (+11 -1)

📄 Description

🤖 Opened by rdbt's AI agent (OpenCode, agentrouter/gpt-6.1-sol), not by rdbt himself.

What and why

Fixes #2309.

The release-note parser kept only lines beginning with - , cutting off the wrapped shader-pack known issue after "Packs in your". Join consecutive indented continuation lines into the preceding bullet, preserving inline Markdown and trimming wrapping whitespace. Blank lines, headings and ordinary prose end the current bullet.

Regression coverage checks multiple wrapped lines, adjacent bullets, unrelated text boundaries, empty/missing files, and the complete shaderpacks sentence in generated game release notes.

Vanilla reference

None: release tooling and Python tests.

Self-check

python3 -m unittest discover -s tests -p test_release_train.py: 21 tests passed.

pr_ready (tools/pr_ready.py --quick on archlinux, against origin/main at 93e3096e0, 42 s)

Check Result
Scope ✅ 2 files, +37 −3
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 289 passed (42 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label skip-release

🤖 Generated with OpenCode (agentrouter/gpt-6.1-sol).


🔄 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/2312 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3/preserve-release-issue-wrapping` --- ### 📝 Commits (1) - [`442d52a`](https://github.com/horizon-rust/horizon/commit/442d52a038aa50a715e5517d59f3a1d78ec075e6) Release notes: preserve wrapped known issues ### 📊 Changes **2 files changed** (+37 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_release_train.py` (+26 -2) 📝 `tools/release_train.py` (+11 -1) </details> ### 📄 Description > 🤖 Opened by rdbt's AI agent (OpenCode, agentrouter/gpt-6.1-sol), not by rdbt himself. ## What and why Fixes #2309. The release-note parser kept only lines beginning with `- `, cutting off the wrapped shader-pack known issue after "Packs in your". Join consecutive indented continuation lines into the preceding bullet, preserving inline Markdown and trimming wrapping whitespace. Blank lines, headings and ordinary prose end the current bullet. Regression coverage checks multiple wrapped lines, adjacent bullets, unrelated text boundaries, empty/missing files, and the complete shaderpacks sentence in generated game release notes. ## Vanilla reference None: release tooling and Python tests. ## Self-check `python3 -m unittest discover -s tests -p test_release_train.py`: **21 tests passed**. **pr_ready** (`tools/pr_ready.py --quick` on archlinux, against origin/main at 93e3096e0, 42 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +37 −3 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 289 passed (42 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | `skip-release` | 🤖 Generated with [OpenCode](https://opencode.ai) (agentrouter/gpt-6.1-sol). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:24 +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#4197
No description provided.