[PR #862] [MERGED] streaming_meshes test: remote columns arrive lit since #824 #2866

Closed
opened 2026-11-02 15:59:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/862
Author: @ludovic111
Created: 10/18/2026
Status: ✅ Merged
Merged: 10/18/2026
Merged by: @ludovic111

Base: main ← Head: fix/streaming-meshes-remote-lit


📝 Commits (1)

  • 6bbcf8e streaming_meshes test: remote columns arrive lit since #824

📊 Changes

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

View changed files

📝 crates/horizon-client/tests/streaming_meshes.rs (+4 -3)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

relit_columns_keep_every_mesh_current has failed on main since #824 (bisected: passes at f845e260, fails at c1b4ccd5).

Its setup assumed that columns received from a server arrive unlit and are relit by the client, so the neighbours of a column not sent yet stay unlit. #824 deliberately changed that, following vanilla's enableChunkLight: a remote column keeps the light the server sent and counts as lit. The test's premise now asserts that. Its real check is unchanged: after the roof opens, torches are placed and the missing column arrives, every section mesh is byte-identical to a fresh mesh of the world.

CI's verify didn't catch it because the test returns early without .local/horizon-client.

cargo test -p horizon-client --test streaming_meshes: 2 passed (Mac mini, with resources).

🤖 Generated with Claude Code


🔄 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/862 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/streaming-meshes-remote-lit` --- ### 📝 Commits (1) - [`6bbcf8e`](https://github.com/horizon-rust/horizon/commit/6bbcf8e3d6d33d0bc7294c44e336921d91d6304e) streaming_meshes test: remote columns arrive lit since #824 ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/tests/streaming_meshes.rs` (+4 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `relit_columns_keep_every_mesh_current` has failed on main since #824 (bisected: passes at f845e260, fails at c1b4ccd5). Its setup assumed that columns received from a server arrive unlit and are relit by the client, so the neighbours of a column not sent yet stay unlit. #824 deliberately changed that, following vanilla's `enableChunkLight`: a remote column keeps the light the server sent and counts as lit. The test's premise now asserts that. Its real check is unchanged: after the roof opens, torches are placed and the missing column arrives, every section mesh is byte-identical to a fresh mesh of the world. CI's `verify` didn't catch it because the test returns early without `.local/horizon-client`. `cargo test -p horizon-client --test streaming_meshes`: 2 passed (Mac mini, with resources). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:59:43 +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#2866
No description provided.