[PR #4522] [MERGED] Crash reports: a dedicated server's head says Server thread, without render settings #5673

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

📋 Pull Request Information

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

Base: main ← Head: fix/crash-head-server


📝 Commits (1)

  • 848c0b1 Crash reports: a dedicated server's head says Server thread, without render settings

📊 Changes

1 file changed (+42 additions, -13 deletions)

View changed files

📝 crates/horizon-client-render/src/crash.rs (+42 -13)

📄 Description

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

Why

The official server (--dedicated, v0.2.97) crashed four times on 2026-10-30. Each crash report's head said Thread: Render thread and listed Render Settings (render distance 12, FOV, VSync…) read from an options.txt that a dedicated server never uses. That misleads whoever reads the report: the error came from the server's main loop, which renders nothing.

What

  • Thread name. On a dedicated server, the main thread's report says Server thread, as vanilla's server reports do; the client keeps Render thread.
  • Render settings. A server's report leaves them out. Every other detail stays.

Proof

The new test, crash::tests::a_dedicated_servers_report_names_its_server_thread_and_no_render_settings:

  • names an unnamed thread for each side;
  • checks that Render Settings stays in a client's report and is left out of a server's.

pr_ready (tools/pr_ready.py --quick on ludovics-mac-mini, against origin/main at 8f376a471, 3 min 0 s)

Check Result
Scope ✅ 1 files, +42 −13
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 481 passed (59 s)
rustfmt ✅ (5 s)
clippy ✅ (1 min 33 s)
tests: horizon-client-render ✅ 592 passed (4 s)
doc tests ✅ 0 passed (9 s)
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 ➖ 113 affected, to run in CI (--quick): ambient_sound, arrow, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles, block_removal, block_tint, block_transformer, breaking_model and 101 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 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/4522 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/crash-head-server` --- ### 📝 Commits (1) - [`848c0b1`](https://github.com/horizon-rust/horizon/commit/848c0b10d40f24372b77175ce87a0db806c9ebac) Crash reports: a dedicated server's head says Server thread, without render settings ### 📊 Changes **1 file changed** (+42 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/crash.rs` (+42 -13) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## Why The official server (`--dedicated`, v0.2.97) crashed four times on 2026-10-30. Each crash report's head said `Thread: Render thread` and listed `Render Settings` (render distance 12, FOV, VSync…) read from an `options.txt` that a dedicated server never uses. That misleads whoever reads the report: the error came from the server's main loop, which renders nothing. ## What - **Thread name.** On a dedicated server, the main thread's report says `Server thread`, as vanilla's server reports do; the client keeps `Render thread`. - **Render settings.** A server's report leaves them out. Every other detail stays. ## Proof The new test, `crash::tests::a_dedicated_servers_report_names_its_server_thread_and_no_render_settings`: - names an unnamed thread for each side; - checks that `Render Settings` stays in a client's report and is left out of a server's. **pr_ready** (`tools/pr_ready.py --quick` on ludovics-mac-mini, against origin/main at 8f376a471, 3 min 0 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +42 −13 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 481 passed (59 s) | | rustfmt | ✅ (5 s) | | clippy | ✅ (1 min 33 s) | | tests: horizon-client-render | ✅ 592 passed (4 s) | | doc tests | ✅ 0 passed (9 s) | | 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 | ➖ 113 affected, to run in CI (--quick): ambient_sound, arrow, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles, block_removal, block_tint, block_transformer, breaking_model and 101 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 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 05:14:14 +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#5673
No description provided.