[PR #6931] [MERGED] Clear stale rest-001 rows main already implements #7205

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • c27c6b8 Clear four stale rest-001 SystemReport rows

📊 Changes

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

View changed files

📝 tools/port_map/rest-001.tsv (+4 -4)

📄 Description

Clears four stale SystemReport rows in tools/port_map/rest-001.tsv: the crash details now carry the graphics adapter, and the memory line already reports the process's resident size.

  • SystemReport.putGraphics was missing ("no GPU enumeration in the crash details"). crates/horizon-client-render/src/gfx.rs::describe_adapter sets the Graphics Adapter detail: the adapter's name, backend, device type and driver. Now inline.
  • SystemReport.putProcessDetails was missing ("no process load or memory lines"). crates/horizon-client-render/src/crash.rs::memory writes "NNN MiB used by the game, NNN MiB installed" — the resident size of the process. Now inline, still short of vanilla's process loads and virtual size.
  • SystemReport.<init> (a port row whose gap note said "no GPU, storage, process or JVM lines"): the GPU line exists, so the note now says no storage, process or JVM lines.
  • SystemReport.putHardware (an inline row): its note said CPU and memory were the only hardware lines kept; the graphics adapter is a third, so the note now names the processor, the memory and the adapter, and still the missing storage and memory-slot lines.

Every other row this file calls missing — world coordinates and block details in a crash, virtual and swap memory, free space per storage path, advancement and requirement validation, the AdvancementProgress criteria getters, the block-entity and food predicates, and the foil decal scale — still has no implementation in the tree, so those rows are left exactly as they were.

map-check tools/port_map/rest-001.tsv: 150 rows, no problems.

Proven: python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar && python3 tools/port_ledger.py map-check tools/port_map/rest-001.tsv → 150 rows, no problems.

Not proven: no in-game check. A crash report was not produced to read the Graphics Adapter and Memory lines back off disk.


🔄 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/6931 **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-001` --- ### 📝 Commits (1) - [`c27c6b8`](https://github.com/horizon-rust/horizon/commit/c27c6b8c13ce138ece7d323688a7ff9a430c078e) Clear four stale rest-001 SystemReport rows ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-001.tsv` (+4 -4) </details> ### 📄 Description Clears four stale `SystemReport` rows in `tools/port_map/rest-001.tsv`: the crash details now carry the graphics adapter, and the memory line already reports the process's resident size. - `SystemReport.putGraphics` was `missing` ("no GPU enumeration in the crash details"). `crates/horizon-client-render/src/gfx.rs::describe_adapter` sets the `Graphics Adapter` detail: the adapter's name, backend, device type and driver. Now `inline`. - `SystemReport.putProcessDetails` was `missing` ("no process load or memory lines"). `crates/horizon-client-render/src/crash.rs::memory` writes "NNN MiB used by the game, NNN MiB installed" — the resident size of the process. Now `inline`, still short of vanilla's process loads and virtual size. - `SystemReport.<init>` (a `port` row whose gap note said "no GPU, storage, process or JVM lines"): the GPU line exists, so the note now says no storage, process or JVM lines. - `SystemReport.putHardware` (an `inline` row): its note said CPU and memory were the only hardware lines kept; the graphics adapter is a third, so the note now names the processor, the memory and the adapter, and still the missing storage and memory-slot lines. Every other row this file calls `missing` — world coordinates and block details in a crash, virtual and swap memory, free space per storage path, advancement and requirement validation, the `AdvancementProgress` criteria getters, the block-entity and food predicates, and the foil decal scale — still has no implementation in the tree, so those rows are left exactly as they were. `map-check tools/port_map/rest-001.tsv`: `150 rows, no problems.` **Proven:** `python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar && python3 tools/port_ledger.py map-check tools/port_map/rest-001.tsv` → `150 rows, no problems.` **Not proven:** no in-game check. A crash report was not produced to read the `Graphics Adapter` and `Memory` lines back off disk. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:41 +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#7205
No description provided.