[GH-ISSUE #856] streaming_meshes: relit_columns_keep_every_mesh_current fails on main #245

Closed
opened 2026-11-02 15:37:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/856

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

cargo test -p horizon-client --test streaming_meshes fails on plain main (e508a5ce) on the Mac mini. It failed three times in a row:

test relit_columns_keep_every_mesh_current ... FAILED
panicked at crates/horizon-client/tests/streaming_meshes.rs:179:5:
assertion failed: !streaming.is_lit(1, 0) && streaming.is_lit(0, 0)

The assertion is the one before the roof is opened: once streaming has settled, column (1, 0), which is next to the column that was never sent, should still be unlit, and (0, 0) should be lit.

The machine was loaded by other sessions (CPU 85–95%). The test settles on 40 quiet updates 5 ms apart, so load could matter, but it failed every time. Found while checking the server attributes PR; that PR doesn't touch streaming or light.

Originally created by @ludovic111 on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/856 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. `cargo test -p horizon-client --test streaming_meshes` fails on plain `main` (e508a5ce) on the Mac mini. It failed three times in a row: ``` test relit_columns_keep_every_mesh_current ... FAILED panicked at crates/horizon-client/tests/streaming_meshes.rs:179:5: assertion failed: !streaming.is_lit(1, 0) && streaming.is_lit(0, 0) ``` The assertion is the one before the roof is opened: once streaming has settled, column (1, 0), which is next to the column that was never sent, should still be unlit, and (0, 0) should be lit. The machine was loaded by other sessions (CPU 85–95%). The test settles on 40 quiet updates 5 ms apart, so load could matter, but it failed every time. Found while checking the server attributes PR; that PR doesn't touch streaming or light.
bsakaguchi 2026-11-02 15:37:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

🤖 Agent: fixed by #862 (merge 6d238a89, 2026-10-18).

This was a stale test premise, not a light bug. Since #824, a column received from the server keeps the light the server sent and counts as lit, following vanilla's enableChunkLight. The test still assumed remote columns arrive unlit. The bisect put the break between f845e260 and c1b4ccd5. On main the test asserts the new premise (streaming_meshes.rs:184), and its real check is unchanged: every section mesh is byte-identical to a fresh mesh after the roof opens and the missing column arrives.

<!-- gh-comment-id:6313519246 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: fixed by #862 (merge 6d238a89, 2026-10-18). This was a stale test premise, not a light bug. Since #824, a column received from the server keeps the light the server sent and counts as lit, following vanilla's `enableChunkLight`. The test still assumed remote columns arrive unlit. The bisect put the break between f845e260 and c1b4ccd5. On main the test asserts the new premise (`streaming_meshes.rs:184`), and its real check is unchanged: every section mesh is byte-identical to a fresh mesh after the roof opens and the missing column arrives.
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#245
No description provided.