[PR #5164] [MERGED] Open native hook stamp PRs after merges #6111

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

📋 Pull Request Information

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

Base: main ← Head: hook-fragments-workflow


📝 Commits (5)

  • ed4501a Open native hook stamp pull requests after merges
  • f30e87e Scope native hook stamp workflow permissions
  • 47cf682 Explain how to start stamp PR checks
  • fd60c3d Merge remote-tracking branch 'upstream/main' into hook-fragments-workflow
  • d8882f9 Merge remote-tracking branch 'upstream/main' into hook-fragments-workflow

📊 Changes

1 file changed (+55 additions, -0 deletions)

View changed files

➕ .github/workflows/native-hook-stamp.yml (+55 -0)

📄 Description

🤖 Opened by Aria's agent swarm, Dyna, not by Aria.

This workflow reacts only to fragment changes pushed to upstream main. It runs the tool on current main and opens a single stamp PR. A later fragment merge waits for that PR; the stamp merge deletes its fragments and triggers another run for any remaining fragments.

Permissions and settings: The job needs contents: write to push its stamp branch and pull-requests: write to open the PR. The repository must enable Allow GitHub Actions to create pull requests. A PR made with GITHUB_TOKEN starts no checks: a maintainer can close and reopen it to start verify, or supply an app token. Main is protected, so direct writes from GITHUB_TOKEN may be refused. The stamp PR body tells a maintainer to close and reopen it to start CI.

If a hand-numbered PR merges while a stamp PR is open, the stamp PR conflicts. Close it; the next fragment push regenerates it, or run the tool by hand.

Game test: This workflow-only change does not apply to a game test. The recommended end-to-end test mod, horizon-machine-sample, was not used because there is no game change.

Tested pushed head d8882f9cb after #5251 fixed the upstream audio build. Vanilla data was unavailable on arch, so CI selects affected parity harnesses.

pr_ready (tools/pr_ready.py --base 981693933 on arch, against 981693933 at 981693933, 41 s)

Check Result
Scope ✅ 1 files, +55 −0
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 499 passed (41 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses
Label skip-release

🔄 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/5164 **Author:** [@arismoko](https://github.com/arismoko) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `hook-fragments-workflow` --- ### 📝 Commits (5) - [`ed4501a`](https://github.com/horizon-rust/horizon/commit/ed4501ac13277608038923998bc9713b60b0b425) Open native hook stamp pull requests after merges - [`f30e87e`](https://github.com/horizon-rust/horizon/commit/f30e87e791618f3ecd85232e3445661a00888583) Scope native hook stamp workflow permissions - [`47cf682`](https://github.com/horizon-rust/horizon/commit/47cf6820c419ed112aa9e52aff8d9431f9416fe3) Explain how to start stamp PR checks - [`fd60c3d`](https://github.com/horizon-rust/horizon/commit/fd60c3dc7ad9ddc37c9212e74b40aee601d5acaa) Merge remote-tracking branch 'upstream/main' into hook-fragments-workflow - [`d8882f9`](https://github.com/horizon-rust/horizon/commit/d8882f9cb41b73412c46c429182a101d6c649d83) Merge remote-tracking branch 'upstream/main' into hook-fragments-workflow ### 📊 Changes **1 file changed** (+55 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/native-hook-stamp.yml` (+55 -0) </details> ### 📄 Description > 🤖 Opened by Aria's agent swarm, Dyna, not by Aria. This workflow reacts only to fragment changes pushed to upstream main. It runs the tool on current main and opens a single stamp PR. A later fragment merge waits for that PR; the stamp merge deletes its fragments and triggers another run for any remaining fragments. **Permissions and settings:** The job needs `contents: write` to push its stamp branch and `pull-requests: write` to open the PR. The repository must enable **Allow GitHub Actions to create pull requests**. A PR made with `GITHUB_TOKEN` starts no checks: a maintainer can close and reopen it to start verify, or supply an app token. Main is protected, so direct writes from `GITHUB_TOKEN` may be refused. The stamp PR body tells a maintainer to close and reopen it to start CI. If a hand-numbered PR merges while a stamp PR is open, the stamp PR conflicts. Close it; the next fragment push regenerates it, or run the tool by hand. **Game test:** This workflow-only change does not apply to a game test. The recommended end-to-end test mod, [horizon-machine-sample](https://github.com/arismoko/horizon-machine-sample), was not used because there is no game change. Tested pushed head `d8882f9cb` after #5251 fixed the upstream audio build. Vanilla data was unavailable on arch, so CI selects affected parity harnesses. **pr_ready** (`tools/pr_ready.py --base 981693933` on arch, against 981693933 at 981693933, 41 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +55 −0 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 499 passed (41 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (no vanilla data here): CI's parity job picks the affected harnesses | | Label | `skip-release` | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:11:58 +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#6111
No description provided.