[PR #7250] [MERGED] Docs: the server guides say what ships #7445

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

📋 Pull Request Information

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

Base: main ← Head: docs/7232-server-guides-shipped


📝 Commits (4)

  • f9d57d8 docs/hosting.md: console, mcp, players, kick, ban and pardon ship
  • 8bdd4f3 docs/server.md: what the server code has passed
  • 8c25a71 Merge origin/main into docs/7232-server-guides-shipped
  • fed0ff5 Merge origin/main into docs/7232-server-guides-shipped

📊 Changes

2 files changed (+18 additions, -13 deletions)

View changed files

📝 docs/hosting.md (+8 -4)
📝 docs/server.md (+10 -9)

📄 Description

🤖 Opened by both Akirabane's AI agent (Claude Code), and Akirabane Himself after his review.

Fixes #7232

What was wrong

docs/hosting.md and docs/server.md still described as coming what horizon-server already does. Each fix below was checked in the code of origin/main; the sentences that are still true are left alone.

What changed

docs/hosting.md (commit 1):

Was Now Code
"Coming: console, ban and pardon as their own commands, and mcp" paragraph dropped; players, kick, ban, pardon, ban-ip, pardon-ip added to the commands list, with one sentence on how they run console and mcp: crates/horizon-server/src/main.rs:134-135 (the list already had both); players, kick, ban, pardon, ban-ip, pardon-ip: main.rs:149-150 and cli.rs:163 (players, reads the files when the server is stopped), cli.rs:244 (moderate: the vanilla command on the running server, through the control API)

docs/server.md (commit 2):

Was Now Code
"(PR 4 adds [panel] bind = ... and allow_public)" init also writes [panel], [api] and [discord] config.rs:58, :62, :68 (the default template init writes)
"Planned: backups.before_update" "There is no backups.before_update setting: an update always backs up the world first" Backups has only every and keep (config.rs:292); the backup before an update is made unconditionally (update.rs:787-790 for a stopped server, supervisor.rs:309 for a running one)
"It runs on the every schedule and on demand (later also before an update)" "...on demand and before an update" the same two places
Docker "keeps the control API (and later the panel) on 127.0.0.1" "the control API and the panel" the container runs horizon-server run (packaging/server/Dockerfile:35), which starts the panel on [panel] bind (supervisor.rs:125)
Equal-work run: "(Horizon has no locator bar yet)" "(Horizon had no locator bar when this ran; since #692, merged the same day, it sends one to vanilla clients)" #692, merged 2026-10-17 12:56Z; the run is dated 2026-10-17, so the sentence now says it was true then

Left as it was, on purpose

  • docs/server.md "Planned wrappers" (horizon-server prepare, import-resources, lines ~180 and ~342): neither is dispatched in main.rs nor anywhere else in horizon-server; still planned.
  • The notifications paragraph (~l.505-524): #7220, merged while this was being written, rewrote it; I did not touch it.
  • docs/hosting.md "no live reload yet", "no compatibility handshake yet (follow-up #6304)" (#6304 is still open), "no cache yet" for tiles, and the Windows "real service ... comes later": no code shows them done. The benchmarks/ README keeps its own dated statement about the locator bar.

How it was checked

By reading the code, not by running it: docs only. Not run: the commands themselves on a server. horizon-server report is in main.rs too but was never listed as coming, so it is not touched.

Self-check

tools/pr_ready.py --quick --base origin/main: scope 2 files, +18 −13; Cargo.lock unchanged; public tree ✅; no Rust change, so rustfmt, clippy and crate tests are skipped; Python tests: 1 error from my machine's setup (a global tests package, no launcher build), untouched here. Merged with the latest origin/main (with #7220) before pushing: the two files still apply cleanly.

🤖 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/7250 **Author:** [@Akirabane](https://github.com/Akirabane) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `docs/7232-server-guides-shipped` --- ### 📝 Commits (4) - [`f9d57d8`](https://github.com/horizon-rust/horizon/commit/f9d57d8bcf809cb790c43f7bf555c0e54a8fbc9f) docs/hosting.md: console, mcp, players, kick, ban and pardon ship - [`8bdd4f3`](https://github.com/horizon-rust/horizon/commit/8bdd4f3bfe9522e213e49367121b8b6ca7dcc1aa) docs/server.md: what the server code has passed - [`8c25a71`](https://github.com/horizon-rust/horizon/commit/8c25a711a4151ae03eb9654bb649e0e6f0620506) Merge origin/main into docs/7232-server-guides-shipped - [`fed0ff5`](https://github.com/horizon-rust/horizon/commit/fed0ff53ae982ba9fdfa815c23a222e8c45a90bf) Merge origin/main into docs/7232-server-guides-shipped ### 📊 Changes **2 files changed** (+18 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `docs/hosting.md` (+8 -4) 📝 `docs/server.md` (+10 -9) </details> ### 📄 Description > 🤖 Opened by both Akirabane's AI agent (Claude Code), and Akirabane Himself after his review. Fixes #7232 ## What was wrong `docs/hosting.md` and `docs/server.md` still described as coming what `horizon-server` already does. Each fix below was checked in the code of `origin/main`; the sentences that are still true are left alone. ## What changed `docs/hosting.md` (commit 1): | Was | Now | Code | | --- | --- | --- | | "Coming: `console`, `ban` and `pardon` as their own commands, and `mcp`" | paragraph dropped; `players`, `kick`, `ban`, `pardon`, `ban-ip`, `pardon-ip` added to the commands list, with one sentence on how they run | `console` and `mcp`: `crates/horizon-server/src/main.rs:134-135` (the list already had both); `players`, `kick`, `ban`, `pardon`, `ban-ip`, `pardon-ip`: `main.rs:149-150` and `cli.rs:163` (`players`, reads the files when the server is stopped), `cli.rs:244` (`moderate`: the vanilla command on the running server, through the control API) | `docs/server.md` (commit 2): | Was | Now | Code | | --- | --- | --- | | "(PR 4 adds `[panel] bind = ...` and `allow_public`)" | `init` also writes `[panel]`, `[api]` and `[discord]` | `config.rs:58`, `:62`, `:68` (the default template `init` writes) | | "Planned: `backups.before_update`" | "There is no `backups.before_update` setting: an update always backs up the world first" | `Backups` has only `every` and `keep` (`config.rs:292`); the backup before an update is made unconditionally (`update.rs:787-790` for a stopped server, `supervisor.rs:309` for a running one) | | "It runs on the `every` schedule and on demand (later also before an update)" | "...on demand and before an update" | the same two places | | Docker "keeps the control API (and later the panel) on 127.0.0.1" | "the control API and the panel" | the container runs `horizon-server run` (`packaging/server/Dockerfile:35`), which starts the panel on `[panel] bind` (`supervisor.rs:125`) | | Equal-work run: "(Horizon has no locator bar yet)" | "(Horizon had no locator bar when this ran; since #692, merged the same day, it sends one to vanilla clients)" | #692, merged 2026-10-17 12:56Z; the run is dated 2026-10-17, so the sentence now says it was true then | ## Left as it was, on purpose - `docs/server.md` "Planned wrappers" (`horizon-server prepare`, `import-resources`, lines ~180 and ~342): neither is dispatched in `main.rs` nor anywhere else in `horizon-server`; still planned. - The notifications paragraph (~l.505-524): #7220, merged while this was being written, rewrote it; I did not touch it. - `docs/hosting.md` "no live reload yet", "no compatibility handshake yet (follow-up #6304)" (#6304 is still open), "no cache yet" for tiles, and the Windows "real service ... comes later": no code shows them done. The `benchmarks/` README keeps its own dated statement about the locator bar. ## How it was checked By reading the code, not by running it: docs only. Not run: the commands themselves on a server. `horizon-server report` is in `main.rs` too but was never listed as coming, so it is not touched. ## Self-check `tools/pr_ready.py --quick --base origin/main`: scope 2 files, +18 −13; Cargo.lock unchanged; public tree ✅; no Rust change, so rustfmt, clippy and crate tests are skipped; Python tests: 1 error from my machine's setup (a global `tests` package, no launcher build), untouched here. Merged with the latest `origin/main` (with #7220) before pushing: the two files still apply cleanly. 🤖 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:39:39 +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#7445
No description provided.