[PR #1265] [MERGED] Revert #1257: keep singleplayer server threading enabled by default #3468

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1265
Author: @rdbtCVS
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @ludovic111

Base: main ← Head: t3/revert-pr-1257-server-threading


📝 Commits (4)

  • 35ffbeb Revert #1257: keep the integrated server thread enabled by default
  • 33dcc66 Merge main into #1265: keep the vehicle checks, take the server-thread default
  • 91dc5b0 Merge main into #1265: riding for a server's players
  • 43a6fe0 Merge main into #1265: mount inventories for a server's players

📊 Changes

2 files changed (+8 additions, -10 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+5 -6)
📝 crates/horizon-client/src/game/integrated.rs (+3 -4)

📄 Description

What and why

Reverts #1257 (cdaf1d79a0) and restores running singleplayer on a separate integrated server thread by default.

A separate server thread should remain the default. Bugs in the server-player path also affect dedicated servers and Open to LAN, so disabling server threading for singleplayer does not fix the underlying problems. It only hides them in singleplayer while leaving multiplayer affected. Keeping singleplayer on the same path helps expose those bugs so they can be fixed for all three modes.

This restores the default, CLI help, module documentation, and explicit mode selection in the LAN harness from before #1257. It also reverts the boat check introduced by that PR, while preserving the ladder regression check added afterward in #1263. --no-server-thread and HORIZON_SERVER_THREAD=0 remain available.

Vehicle support for server players (#1222) still needs to be implemented; this revert does not claim to fix it.

Vanilla reference

Restores the existing integrated-server model described in game/integrated.rs: Minecraft.doWorldLoad starts the server thread, and MinecraftServer.runServer runs the server tick loop.

Self-check

pr_ready (tools/pr_ready.py on archlinux, against origin/main at 1ec2762fe, 45 s)

Check Result
Scope ✅ 3 files, +12 −66
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 290 passed (21 s)
rustfmt ✅ (6 s)
clippy ✅ (1 s)
tests: horizon-client ✅ 1121 passed (16 s)
doc tests ✅ 0 passed (1 s)
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 player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🔄 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/1265 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `t3/revert-pr-1257-server-threading` --- ### 📝 Commits (4) - [`35ffbeb`](https://github.com/horizon-rust/horizon/commit/35ffbebcddf833c4a918d92db7a7ed772a1402a8) Revert #1257: keep the integrated server thread enabled by default - [`33dcc66`](https://github.com/horizon-rust/horizon/commit/33dcc6637976cdaf494f0ea5fc438606f4488a1d) Merge main into #1265: keep the vehicle checks, take the server-thread default - [`91dc5b0`](https://github.com/horizon-rust/horizon/commit/91dc5b0f18dd17df876398a2dd61c93e2946b3b4) Merge main into #1265: riding for a server's players - [`43a6fe0`](https://github.com/horizon-rust/horizon/commit/43a6fe0f7d81a18f4f108ef751c8eea9133602ae) Merge main into #1265: mount inventories for a server's players ### 📊 Changes **2 files changed** (+8 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+5 -6) 📝 `crates/horizon-client/src/game/integrated.rs` (+3 -4) </details> ### 📄 Description ## What and why Reverts #1257 (cdaf1d79a040392a6a2b9ee77307f9349a4db6bf) and restores running singleplayer on a separate integrated server thread by default. A separate server thread should remain the default. Bugs in the server-player path also affect dedicated servers and Open to LAN, so disabling server threading for singleplayer does not fix the underlying problems. It only hides them in singleplayer while leaving multiplayer affected. Keeping singleplayer on the same path helps expose those bugs so they can be fixed for all three modes. This restores the default, CLI help, module documentation, and explicit mode selection in the LAN harness from before #1257. It also reverts the boat check introduced by that PR, while preserving the ladder regression check added afterward in #1263. `--no-server-thread` and `HORIZON_SERVER_THREAD=0` remain available. Vehicle support for server players (#1222) still needs to be implemented; this revert does not claim to fix it. ## Vanilla reference Restores the existing integrated-server model described in `game/integrated.rs`: `Minecraft.doWorldLoad` starts the server thread, and `MinecraftServer.runServer` runs the server tick loop. ## Self-check **pr_ready** (`tools/pr_ready.py` on archlinux, against origin/main at 1ec2762fe, 45 s) | Check | Result | | --- | --- | | Scope | ✅ 3 files, +12 −66 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 290 passed (21 s) | | rustfmt | ✅ (6 s) | | clippy | ✅ (1 s) | | tests: horizon-client | ✅ 1121 passed (16 s) | | doc tests | ✅ 0 passed (1 s) | | 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 | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:09:44 +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#3468
No description provided.