[PR #6750] [MERGED] Tests: two that failed on a Windows checkout #7067

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6750
Author: @4404c
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: tests/windows-checkout


📝 Commits (1)

  • 8fb8106 Tests: two that failed on a Windows checkout

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/native_hooks.rs (+1 -1)
📝 tests/test_world_input_capture.py (+3 -3)

📄 Description

🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally.

What and why

Fixes #6747. Two tests failed on a Windows checkout of main, so tools/pr_ready.py reported failures there on every pull request:

  • native_ingredient_stays_hookable searched for "\n}\n" in a source with CRLF line endings. It now normalises them, as the tests beside it do (#6375).
  • test_capture_lifecycle expected two warps on a Windows grab, from #6234. #6463 then made it one, which is what Game::capture does. It now expects one on every system.

Only tests change, so players see nothing (skip-release).

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

Other projects' code

none

Self-check

Run on Windows, where both tests failed before this.

pr_ready (tools/pr_ready.py --quick --base upstream/main on naza, against upstream/main at b82e2a4b3, 4 min 20 s)

Check Result
Scope ✅ 2 files, +4 −4
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 602 passed (1 min 35 s)
rustfmt ✅ (9 s)
clippy ✅ (1 min 9 s)
tests: horizon-client ✅ 604 passed (1 min 13 s)
doc tests ✅ 0 passed (3 s)
content root tests ➖ content root untouched
mod API up to date ✅ (8 s)
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 player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The Label line is pr_ready's reading of a path under crates/: the change there is inside a #[test].

🤖 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/6750 **Author:** [@4404c](https://github.com/4404c) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `tests/windows-checkout` --- ### 📝 Commits (1) - [`8fb8106`](https://github.com/horizon-rust/horizon/commit/8fb8106da9c0519b868567bb14e100b195624b17) Tests: two that failed on a Windows checkout ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/native_hooks.rs` (+1 -1) 📝 `tests/test_world_input_capture.py` (+3 -3) </details> ### 📄 Description > 🤖 Opened by 4404c's AI agent (Claude Code, Opus 5.5), not by 4404c personally. ## What and why Fixes #6747. Two tests failed on a Windows checkout of main, so `tools/pr_ready.py` reported failures there on every pull request: - `native_ingredient_stays_hookable` searched for `"\n}\n"` in a source with CRLF line endings. It now normalises them, as the tests beside it do (#6375). - `test_capture_lifecycle` expected two warps on a Windows grab, from #6234. #6463 then made it one, which is what `Game::capture` does. It now expects one on every system. Only tests change, so players see nothing (`skip-release`). ## 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 ## Other projects' code none ## Self-check Run on Windows, where both tests failed before this. **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` on naza, against upstream/main at b82e2a4b3, 4 min 20 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +4 −4 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 602 passed (1 min 35 s) | | rustfmt | ✅ (9 s) | | clippy | ✅ (1 min 9 s) | | tests: horizon-client | ✅ 604 passed (1 min 13 s) | | doc tests | ✅ 0 passed (3 s) | | content root tests | ➖ content root untouched | | mod API up to date | ✅ (8 s) | | 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 | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The Label line is pr_ready's reading of a path under `crates/`: the change there is inside a `#[test]`. 🤖 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:33:13 +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#7067
No description provided.