[PR #7124] [MERGED] Clear stale client2-019.tsv rows main already implements #7357

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

📋 Pull Request Information

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

Base: main ← Head: chore/ledger-client2-019-rows


📝 Commits (1)

  • 095f156 Port map: clear client2-019 world-open rows main already implements

📊 Changes

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

View changed files

📝 tools/port_map/client2-019.tsv (+16 -16)

📄 Description

tools/port_map/client2-019.tsv: the world-open and create-world rows that still recorded gaps the tree has closed.

The experiments, confirm-experiments, optimize and stem-compatibility rows that were also stale here are already on main (they landed in "Port ledger: sixteen title and world-open rows are ported, not missing"), so this leaves them alone.

Rows that became port/inline

row port
WorldOpenFlows.loadBundledResourcePack crates/horizon-client/src/game/server_packs.rs::Game::server_packs_world_pack — saves/<world>/resourcepacks/resources.zip is pushed as the world's pack before the connect
WorldOpenFlows.openWorldLoadBundledResourcePack (inline) …::Game::server_packs_world_pack — pushed from game/integrated.rs before connect_local, so the world opens once the pack is in

Rows whose recorded gap has closed

row why
CreateWorldScreen.openFresh the screen shows createWorld.preparing while the world creation data is read, then opens
CreateWorldScreen.createFromExisting Re-Create's packs come from datapack::for_recreate
CreateWorldScreen.createWorldAndCleanup the temp pack folder is removed once its packs are installed (game.rs) and when Create is cancelled (Title::cancel_create)
CreateWorldScreen.createNewWorld the picked data packs are installed into the new world before it opens (datapack::install)
WorldOpenFlows.createLevelFromExistingSettings the packs come from datapack::for_recreate and are installed the same way
WorldOpenFlows.loadWorldStem the world's packs are discovered (datapack::discover_with_features); no safe-mode retry remains
WorldOpenFlows.openWorldLoadLevelData a level.dat that does not read opens RecoverWorldDataScreen (Title::play, Mode::Recover) instead of a random-seed world
WorldOpenFlows.upgradeAndOpenWorld the file fixes run under FileFixerProgressScreen (level_loading::draw_file_fixer, Cancel wired in game.rs); no upgrade-done join-now confirm

Six rows from an earlier PR whose where was prose, not a citation

map-check on main reports these as no fn … before this branch: the rows name a file and line or a code expression instead of a function.

row now
CreateWorldScreen.getOrCreateTempDataPackDir crates/horizon-client-render/src/datapack.rs::temp_folder
CreateWorldScreen.openDataPackSelectionScreen crates/horizon-client/src/title.rs::Title::click_action (the More tab's Data Packs button)
CreateWorldScreen.tryApplyNewDataPacks crates/horizon-client/src/title.rs::Title::offer_data_packs
CreateWorldScreen.removeTempDataPackDir crates/horizon-client/src/title.rs::Title::cancel_create
CreateWorldScreen.createTempDataPackDirFromExistingWorld crates/horizon-client-render/src/datapack.rs::for_recreate
CreateWorldScreen.getDataPackSelectionSettings crates/horizon-client/src/title.rs::Title::creation_packs

python3 tools/port_ledger.py build --jar <game>/jars/client.jar && python3 tools/port_ledger.py map-check tools/port_map/client2-019.tsv → no problems. The index has to come from client.jar: the 26.3 server.jar is the bundler jar and carries no client classes, so an index built from it resolves none of this file's rows.

Proven: each citation names a function that exists and is reached — server_packs_world_pack is called from game/integrated.rs just before connect_local, datapack::install and datapack::for_recreate are called from the create flow, Title::play routes an unreadable level.dat to Mode::Recover, and level_loading::draw_file_fixer is drawn and cancelled in game.rs. map-check resolves the file, and the vanilla side of the two verdict changes was read with javap -p -c -constants.

Not proven: nothing here was exercised in a running game. Still missing: WorldOpenFlows.promptBundledPackLoadFailure, since the world's pack is pushed with no failure prompt. Rows left with their gaps: CreateWorldScreen.onCreate (no deprecated-data warning), SelectWorldScreen.updateButtonStatus, WorldCreationUiState.findResultFolder (a blank name gives folder World), WorldOpenFlows.loadWorldStem (no safe-mode retry).


🔄 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/7124 **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-client2-019-rows` --- ### 📝 Commits (1) - [`095f156`](https://github.com/horizon-rust/horizon/commit/095f156d942ff0a0062bde320c1a575d8396089a) Port map: clear client2-019 world-open rows main already implements ### 📊 Changes **1 file changed** (+16 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-019.tsv` (+16 -16) </details> ### 📄 Description `tools/port_map/client2-019.tsv`: the world-open and create-world rows that still recorded gaps the tree has closed. The experiments, confirm-experiments, optimize and stem-compatibility rows that were also stale here are already on `main` (they landed in "Port ledger: sixteen title and world-open rows are ported, not missing"), so this leaves them alone. ### Rows that became `port`/`inline` | row | port | | --- | --- | | `WorldOpenFlows.loadBundledResourcePack` | `crates/horizon-client/src/game/server_packs.rs::Game::server_packs_world_pack` — `saves/<world>/resourcepacks/resources.zip` is pushed as the world's pack before the connect | | `WorldOpenFlows.openWorldLoadBundledResourcePack` (inline) | `…::Game::server_packs_world_pack` — pushed from `game/integrated.rs` before `connect_local`, so the world opens once the pack is in | ### Rows whose recorded gap has closed | row | why | | --- | --- | | `CreateWorldScreen.openFresh` | the screen shows `createWorld.preparing` while the world creation data is read, then opens | | `CreateWorldScreen.createFromExisting` | Re-Create's packs come from `datapack::for_recreate` | | `CreateWorldScreen.createWorldAndCleanup` | the temp pack folder is removed once its packs are installed (`game.rs`) and when Create is cancelled (`Title::cancel_create`) | | `CreateWorldScreen.createNewWorld` | the picked data packs are installed into the new world before it opens (`datapack::install`) | | `WorldOpenFlows.createLevelFromExistingSettings` | the packs come from `datapack::for_recreate` and are installed the same way | | `WorldOpenFlows.loadWorldStem` | the world's packs are discovered (`datapack::discover_with_features`); no safe-mode retry remains | | `WorldOpenFlows.openWorldLoadLevelData` | a `level.dat` that does not read opens RecoverWorldDataScreen (`Title::play`, `Mode::Recover`) instead of a random-seed world | | `WorldOpenFlows.upgradeAndOpenWorld` | the file fixes run under FileFixerProgressScreen (`level_loading::draw_file_fixer`, Cancel wired in `game.rs`); no upgrade-done join-now confirm | ### Six rows from an earlier PR whose `where` was prose, not a citation `map-check` on `main` reports these as `no fn …` before this branch: the rows name a file and line or a code expression instead of a function. | row | now | | --- | --- | | `CreateWorldScreen.getOrCreateTempDataPackDir` | `crates/horizon-client-render/src/datapack.rs::temp_folder` | | `CreateWorldScreen.openDataPackSelectionScreen` | `crates/horizon-client/src/title.rs::Title::click_action` (the More tab's Data Packs button) | | `CreateWorldScreen.tryApplyNewDataPacks` | `crates/horizon-client/src/title.rs::Title::offer_data_packs` | | `CreateWorldScreen.removeTempDataPackDir` | `crates/horizon-client/src/title.rs::Title::cancel_create` | | `CreateWorldScreen.createTempDataPackDirFromExistingWorld` | `crates/horizon-client-render/src/datapack.rs::for_recreate` | | `CreateWorldScreen.getDataPackSelectionSettings` | `crates/horizon-client/src/title.rs::Title::creation_packs` | `python3 tools/port_ledger.py build --jar <game>/jars/client.jar && python3 tools/port_ledger.py map-check tools/port_map/client2-019.tsv` → no problems. The index has to come from `client.jar`: the 26.3 `server.jar` is the bundler jar and carries no client classes, so an index built from it resolves none of this file's rows. **Proven:** each citation names a function that exists and is reached — `server_packs_world_pack` is called from `game/integrated.rs` just before `connect_local`, `datapack::install` and `datapack::for_recreate` are called from the create flow, `Title::play` routes an unreadable `level.dat` to `Mode::Recover`, and `level_loading::draw_file_fixer` is drawn and cancelled in `game.rs`. `map-check` resolves the file, and the vanilla side of the two verdict changes was read with `javap -p -c -constants`. **Not proven:** nothing here was exercised in a running game. Still `missing`: `WorldOpenFlows.promptBundledPackLoadFailure`, since the world's pack is pushed with no failure prompt. Rows left with their gaps: `CreateWorldScreen.onCreate` (no deprecated-data warning), `SelectWorldScreen.updateButtonStatus`, `WorldCreationUiState.findResultFolder` (a blank name gives folder `World`), `WorldOpenFlows.loadWorldStem` (no safe-mode retry). --- <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:17 +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#7357
No description provided.