[PR #6847] [MERGED] Clear three rest-017 rows: the code of conduct, the disk warning and the slider label #7137

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-rest-017


📝 Commits (1)

  • b31fcfa Clear three rest-017 rows: the code of conduct, the disk warning and the slider label

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 tools/port_map/rest-017.tsv (+3 -3)

📄 Description

Three tools/port_map/rest-017.tsv rows said missing (or unsure) for behaviour current main
has. Each was read in the code, and the row now names where it lives:

  • DedicatedServer.readCodeOfConducts -> lan/code_of_conduct.rs::read: with
    enable-code-of-conduct the folder's files are read at startup
    (game/dedicated.rs::run_dedicated_inner) and handed to a joining player, whose client shows the
    prompt and keeps the accepted text (game/code_of_conduct.rs).
  • DedicatedServer.sendLowDiskSpaceWarning -> lan/hub.rs::Hub::send_low_disk_space_warning:
    chunk_io reports the low disk space, the operators are told (game/dedicated.rs), and a client
    shows the toast (game/remote.rs, handleLowDiskSpaceWarning).
  • NumberRangeInput.computeLabel -> dialog.rs::Control::message: a slider's text is its
    label_format with the label and the scaled value, and a cycle button's is
    options.generic_value, both on the same function.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-017.tsv on the build VM -
107 rows, no problems. Each claim is from reading the function named in the row.

Not proven: no in-game check; these are ledger verdicts, not behaviour changes. Rows this sweep
did not settle (the watchdog, /setidletimeout, the 1000-suggestion cap, the login session id and
onPacketError) are left as they were.


🔄 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/6847 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-rest-017` --- ### 📝 Commits (1) - [`b31fcfa`](https://github.com/horizon-rust/horizon/commit/b31fcfad5d6e8a2d879abfe41577355f3dadac98) Clear three rest-017 rows: the code of conduct, the disk warning and the slider label ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-017.tsv` (+3 -3) </details> ### 📄 Description Three `tools/port_map/rest-017.tsv` rows said `missing` (or `unsure`) for behaviour current `main` has. Each was read in the code, and the row now names where it lives: - `DedicatedServer.readCodeOfConducts` -> `lan/code_of_conduct.rs::read`: with `enable-code-of-conduct` the folder's files are read at startup (`game/dedicated.rs::run_dedicated_inner`) and handed to a joining player, whose client shows the prompt and keeps the accepted text (`game/code_of_conduct.rs`). - `DedicatedServer.sendLowDiskSpaceWarning` -> `lan/hub.rs::Hub::send_low_disk_space_warning`: `chunk_io` reports the low disk space, the operators are told (`game/dedicated.rs`), and a client shows the toast (`game/remote.rs`, `handleLowDiskSpaceWarning`). - `NumberRangeInput.computeLabel` -> `dialog.rs::Control::message`: a slider's text is its `label_format` with the label and the scaled value, and a cycle button's is `options.generic_value`, both on the same function. **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-017.tsv` on the build VM - `107 rows, no problems.` Each claim is from reading the function named in the row. **Not proven:** no in-game check; these are ledger verdicts, not behaviour changes. Rows this sweep did not settle (the watchdog, `/setidletimeout`, the 1000-suggestion cap, the login session id and `onPacketError`) are left as they were. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34:30 +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#7137
No description provided.