[PR #5384] [MERGED] horizon-release-sign: test the signing script on Linux and macOS only #6251

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

📋 Pull Request Information

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

Base: main ← Head: fix/release-sign-windows


📝 Commits (2)

  • 38c4ec4 horizon-release-sign: test the signing script on Linux and macOS only
  • a135123 Merge main into #5384 (main's perf_bench, triage-list and launcher-string failures, fixed by #5369 and #5397)

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 crates/horizon-release-sign/tests/cli.rs (+4 -2)

📄 Description

🤖 Opened by mariuslozo-boop's AI agent (Claude Code, Claude Opus 5.5), not by mariuslozo-boop personally.

What and why

the_openssl_script_signs_what_the_launcher_checks runs tools/ci/sign_release.sh with bash. On Windows,
std::process::Command looks in System32 before PATH. With WSL installed that finds WSL's bash.exe, which can't
open the script's Windows path, so the test fails. Git for Windows' OpenSSL 3 is on PATH, so the existing
"no OpenSSL 3" skip doesn't catch it.

The script only ever runs on the ubuntu-latest sign jobs (launcher.yml, nightly-build.yml), so this skips the
test on Windows with the same early return and message style as the OpenSSL skip. I didn't try to locate Git Bash:
testing a Linux-only CI script through MSYS wouldn't say anything about the release. Linux and macOS run the test as
before (cfg!(windows) is false there).

Before (Windows with WSL): the test fails, bash can't find the script. After: skipped: tools/ci/sign_release.sh is tested on Linux (bash, OpenSSL 3), 4 passed.

Fixes #5383

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

none (release tooling)

Other projects' code

none

Self-check

pr_ready (tools/pr_ready.py --base upstream/main on PCDKBLENDER, against upstream/main at 64b84a780, 4 min 59 s)

Check Result
Scope ✅ 1 files, +4 −2
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 500 run, FAILED (errors=1, skipped=2) (53 s)
rustfmt ✅ (8 s)
clippy ❌ failed (24 s)
tests: horizon-release-sign ✅ 13 passed
doc tests ✅ 0 passed
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (1 min 17 s)
launcher tests ❌ 327 passed, 1 failed (2 min 11 s)
Parity ❌ 371 affected, (1 s)
Label skip-release

Run on Windows. The red rows also fail on main without this change:

  • clippy: horizon-threads doesn't compile on its own on Windows (missing windows-sys features). That's #5299.
  • launcher tests: i18n::every_language_has_every_string_the_code_asks_for. ja.json and pt-br.json lack the 17 strings #5226 added.
  • Python tests: test_perf_bench.test_table_distinguishes_missing_scene_load_from_zero.
  • Parity: the harness runner imports fcntl, which Windows doesn't have.

🤖 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/5384 **Author:** [@mariuslozo-boop](https://github.com/mariuslozo-boop) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/release-sign-windows` --- ### 📝 Commits (2) - [`38c4ec4`](https://github.com/horizon-rust/horizon/commit/38c4ec46426c47f98cb53819849cd5e4ade79db5) horizon-release-sign: test the signing script on Linux and macOS only - [`a135123`](https://github.com/horizon-rust/horizon/commit/a1351237e7643e536b215ef28a2c03dd07522af1) Merge main into #5384 (main's perf_bench, triage-list and launcher-string failures, fixed by #5369 and #5397) ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-release-sign/tests/cli.rs` (+4 -2) </details> ### 📄 Description > 🤖 Opened by mariuslozo-boop's AI agent (Claude Code, Claude Opus 5.5), not by mariuslozo-boop personally. ## What and why `the_openssl_script_signs_what_the_launcher_checks` runs `tools/ci/sign_release.sh` with `bash`. On Windows, `std::process::Command` looks in System32 before PATH. With WSL installed that finds WSL's `bash.exe`, which can't open the script's Windows path, so the test fails. Git for Windows' OpenSSL 3 is on PATH, so the existing "no OpenSSL 3" skip doesn't catch it. The script only ever runs on the `ubuntu-latest` `sign` jobs (launcher.yml, nightly-build.yml), so this skips the test on Windows with the same early return and message style as the OpenSSL skip. I didn't try to locate Git Bash: testing a Linux-only CI script through MSYS wouldn't say anything about the release. Linux and macOS run the test as before (`cfg!(windows)` is false there). Before (Windows with WSL): the test fails, bash can't find the script. After: `skipped: tools/ci/sign_release.sh is tested on Linux (bash, OpenSSL 3)`, 4 passed. Fixes #5383 ## Kind - [ ] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [x] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference none (release tooling) ## Other projects' code none ## Self-check **pr_ready** (`tools/pr_ready.py --base upstream/main` on PCDKBLENDER, against upstream/main at 64b84a780, 4 min 59 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +4 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 500 run, FAILED (errors=1, skipped=2) (53 s) | | rustfmt | ✅ (8 s) | | clippy | ❌ failed (24 s) | | tests: horizon-release-sign | ✅ 13 passed | | doc tests | ✅ 0 passed | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (1 min 17 s) | | launcher tests | ❌ 327 passed, 1 failed (2 min 11 s) | | Parity | ❌ 371 affected, (1 s) | | Label | `skip-release` | Run on Windows. The red rows also fail on main without this change: - clippy: `horizon-threads` doesn't compile on its own on Windows (missing windows-sys features). That's #5299. - launcher tests: `i18n::every_language_has_every_string_the_code_asks_for`. `ja.json` and `pt-br.json` lack the 17 strings #5226 added. - Python tests: `test_perf_bench.test_table_distinguishes_missing_scene_load_from_zero`. - Parity: the harness runner imports `fcntl`, which Windows doesn't have. 🤖 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:16:22 +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#6251
No description provided.