[PR #6860] [MERGED] Clear two rest-021 rows: the selector codec and the session lock #7151

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 4e673a6 Clear two rest-021 rows: the selector codec and the session lock

📊 Changes

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

View changed files

📝 tools/port_map/rest-021.tsv (+2 -2)

📄 Description

Two tools/port_map/rest-021.tsv rows said missing for behaviour current main has:

  • CompilableString.CommandParserHelper.apply ->
    game/commands/text_commands.rs::invalid_selector: a selector component's selector and an nbt
    component's entity are parsed when the component is decoded, text left after one is
    command.trailing_data, and either failure makes the component invalid with vanilla's message.
    (EntitySelector.COMPILABLE_CODEC is what the codec goes through.)
  • DirectoryLock.isLocked -> save.rs::SessionLock::is_locked: trying for the world's
    session.lock tells a locked world, and title.rs puts that in the world list's locked flag,
    so a world another copy has open is shown as locked.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-021.tsv on the build VM -
135 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.


🔄 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/6860 **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-021` --- ### 📝 Commits (1) - [`4e673a6`](https://github.com/horizon-rust/horizon/commit/4e673a629e4031eec2c1f5179e8233f36d40bba8) Clear two rest-021 rows: the selector codec and the session lock ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-021.tsv` (+2 -2) </details> ### 📄 Description Two `tools/port_map/rest-021.tsv` rows said `missing` for behaviour current `main` has: - `CompilableString.CommandParserHelper.apply` -> `game/commands/text_commands.rs::invalid_selector`: a selector component's `selector` and an nbt component's `entity` are parsed when the component is decoded, text left after one is `command.trailing_data`, and either failure makes the component invalid with vanilla's message. (`EntitySelector.COMPILABLE_CODEC` is what the codec goes through.) - `DirectoryLock.isLocked` -> `save.rs::SessionLock::is_locked`: trying for the world's `session.lock` tells a locked world, and `title.rs` puts that in the world list's `locked` flag, so a world another copy has open is shown as locked. **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-021.tsv` on the build VM - `135 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. --- <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:50 +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#7151
No description provided.