[GH-ISSUE #6473] Remove the deprecated in-frame single-player path (--in-frame, --no-server-thread, HORIZON_SERVER_THREAD=0) #2100

Closed
opened 2026-11-02 15:52:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6473

Originally assigned to: @rdbtCVS on GitHub.

🤖 Filed by rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not by rdbtCVS personally.

Roadmap: "One single-player path: remove the in-frame world".

Single player has run on the server thread by default since #1514. --in-frame, --no-server-thread and HORIZON_SERVER_THREAD=0 still make the window's Game tick the world itself, which keeps a second set of code paths alive (one level following the player through enter_dimension, the in-frame LAN host whose own player sits in the hub, and in-frame-only branches in ticking, chat, respawn, the tutorial...).

Plan:

  1. Remove the flags and the env var; a client always opens worlds on its server thread.
  2. Delete the code only a window that ticks its own world reached, and the tools/harness modes that drove it (lan_e2e --in-frame, test_friends --in-frame, the parity harnesses' in-frame loop, the single-player audits' in-frame mode, integration_env.py's no-op flag).
  3. Update the docs, CLAUDE.md/AGENTS.md, the roadmap and the port ledger's "both paths" seam category.

The dispense and sculk fixtures already run on a server Game (run_component_harness in game/integrated.rs), so they don't block this.

Originally created by @rdbtCVS on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6473 Originally assigned to: @rdbtCVS on GitHub. > 🤖 Filed by rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not by rdbtCVS personally. Roadmap: "One single-player path: remove the in-frame world". Single player has run on the server thread by default since #1514. `--in-frame`, `--no-server-thread` and `HORIZON_SERVER_THREAD=0` still make the window's `Game` tick the world itself, which keeps a second set of code paths alive (one level following the player through `enter_dimension`, the in-frame LAN host whose own player sits in the hub, and in-frame-only branches in ticking, chat, respawn, the tutorial...). Plan: 1. Remove the flags and the env var; a client always opens worlds on its server thread. 2. Delete the code only a window that ticks its own world reached, and the tools/harness modes that drove it (`lan_e2e --in-frame`, `test_friends --in-frame`, the parity harnesses' in-frame loop, the single-player audits' in-frame mode, `integration_env.py`'s no-op flag). 3. Update the docs, CLAUDE.md/AGENTS.md, the roadmap and the port ledger's "both paths" seam category. The dispense and sculk fixtures already run on a server `Game` (`run_component_harness` in `game/integrated.rs`), so they don't block this.
Author
Owner

@rdbtCVS commented on GitHub (Nov 1, 2026):

/claim

<!-- gh-comment-id:6564427529 --> @rdbtCVS commented on GitHub (Nov 1, 2026): /claim
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#2100
No description provided.