[PR #7111] [MERGED] Clear stale game-001 rows main already implements #7348

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-game-001


📝 Commits (2)

  • 9baedcd port map: clear game-001 rows main already implements
  • a6189f4 Merge main: keep main's scheduleCandidate row

📊 Changes

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

View changed files

📝 tools/port_map/game-001.tsv (+2 -2)

📄 Description

tools/port_map/game-001.tsv had one row saying missing for behaviour main has,
and two rows whose notes described gaps that have since closed.

  • ChunkMap.resendBiomesForChunks -> game/commands/terrain_cmds.rs::Game::cmd_fillbiome:
    /fillbiome gathers the changed columns (z, then x, as vanilla does) and hands them to
    Hub::resend_biomes, which sends each guest that has the column a ChunksBiomes packet.
    The row said guests kept the old biome tints until their chunks were sent again.
  • ChunkMap.TrackedEntity.updatePlayers -> lan/entity.rs::Entities::tick: the note said
    broadcastToPlayer was not checked. It is (broadcast_to_player, used by sees): a
    spectator is hidden from everyone but other spectators, and sees players only while its
    camera is itself. The gap is gone, the verdict was already right.
  • PlayerSpawnFinder.scheduleCandidate -> game/initial_spawn.rs::Game::search_spawn: the
    note said a server tick passed over candidates in unloaded chunks. search_spawn now
    returns the chunk it needs and both callers wait for it — the in-frame path centres
    streaming on it, a server tick keeps it in spawn_wait and retries.

Left alone: the four rows still at missing in this file are ChunkTaskDispatcher.release
and ChunkTaskPriorityQueue.release (no per-column cancellation; results are dropped on
arrival by the Done::Proto range check), and DemoMode (no demo timer, intro hints or
five-day limit; the dedicated server's --demo is accepted and ignored). The remaining
gap: notes in the file still hold: the distance-based broadcast_near sends, the eager
chunk save, the unreadable-record path in SaveDir::load, and the 7x7 count in
level_load_progress.

python3 tools/port_ledger.py map-check tools/port_map/game-001.tsv: 144 rows, no problems.

Proven: data file only; each claim is from reading the function named in the row.

Not proven: no in-game check; ledger verdicts, not behaviour changes.


🔄 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/7111 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `chore/ledger-game-001` --- ### 📝 Commits (2) - [`9baedcd`](https://github.com/horizon-rust/horizon/commit/9baedcd5ffa7bbcd57b8021c4063fcf1c12cc679) port map: clear game-001 rows main already implements - [`a6189f4`](https://github.com/horizon-rust/horizon/commit/a6189f4638cdea3e4c9186610e41de254e853b63) Merge main: keep main's scheduleCandidate row ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game-001.tsv` (+2 -2) </details> ### 📄 Description `tools/port_map/game-001.tsv` had one row saying `missing` for behaviour `main` has, and two rows whose notes described gaps that have since closed. - `ChunkMap.resendBiomesForChunks` -> `game/commands/terrain_cmds.rs::Game::cmd_fillbiome`: `/fillbiome` gathers the changed columns (z, then x, as vanilla does) and hands them to `Hub::resend_biomes`, which sends each guest that has the column a `ChunksBiomes` packet. The row said guests kept the old biome tints until their chunks were sent again. - `ChunkMap.TrackedEntity.updatePlayers` -> `lan/entity.rs::Entities::tick`: the note said `broadcastToPlayer` was not checked. It is (`broadcast_to_player`, used by `sees`): a spectator is hidden from everyone but other spectators, and sees players only while its camera is itself. The gap is gone, the verdict was already right. - `PlayerSpawnFinder.scheduleCandidate` -> `game/initial_spawn.rs::Game::search_spawn`: the note said a server tick passed over candidates in unloaded chunks. `search_spawn` now returns the chunk it needs and both callers wait for it — the in-frame path centres streaming on it, a server tick keeps it in `spawn_wait` and retries. Left alone: the four rows still at `missing` in this file are `ChunkTaskDispatcher.release` and `ChunkTaskPriorityQueue.release` (no per-column cancellation; results are dropped on arrival by the `Done::Proto` range check), and `DemoMode` (no demo timer, intro hints or five-day limit; the dedicated server's `--demo` is accepted and ignored). The remaining `gap:` notes in the file still hold: the distance-based `broadcast_near` sends, the eager chunk save, the unreadable-record path in `SaveDir::load`, and the 7x7 count in `level_load_progress`. `python3 tools/port_ledger.py map-check tools/port_map/game-001.tsv`: `144 rows, no problems.` **Proven:** data file only; each claim is from reading the function named in the row. **Not proven:** no in-game check; ledger verdicts, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:38:07 +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#7348
No description provided.