[PR #5810] [MERGED] random_tick: the probe skips push_entities_up (parity-main green again) #6517

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

📋 Pull Request Information

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

Base: main ← Head: fix/main-build-random-tick-push-up


📝 Commits (1)

  • 48af02d random_tick: a block's push_entities_up lifts nobody in the probe's cases

📊 Changes

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

View changed files

📝 crates/horizon-world/examples/probe/block_update_fixture.rs (+3 -1)

📄 Description

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

What

parity-main has failed on random_tick since #5100 (097cc8e88), which blocks the release. The run summary points at 2 oracle errors (RegistryAccess.lookupOrThrow on a mangrove_propagule[stage=1] growing a tree). Those were already there before #5100 and are skipped. They are not why it fails. The real failure is one differing case:

minecraft:dirt_path: 1 differing  (tick, seed=178036246897)
   native set 0,0,-1 0 | set 0,0,0 10 | ft … | D minecraft:blocks/redstone_wire | G 0,0,0 minecraft:block_change | rng …
   rust   set 0,0,-1 0 | set 0,0,0 10 | ft … | X push_entities_up | D minecraft:blocks/redstone_wire | G 0,0,0 minecraft:block_change | rng …

#5100 made turn_to_base_block emit a push_entities_up block event (the game uses it to lift entities, like Block.pushEntitiesUp). The block-update probe prints every block event it doesn't know as X <kind>. Vanilla's pushEntitiesUp moves only the entities in the new block's box, and these cases have no entities, so the oracle logs nothing. The probe now skips push_entities_up, like it already skips the other events that need someone nearby (shrieker, portal spawn…). The game's handling from #5100 is unchanged, and no case is dropped.

Checks

  • random_tick: PASS before #5100 (eec161a4c), FAIL at 097cc8e88 and on main 7e5e3d1ad, PASS with this change (39998/39998; the 2 old oracle errors are still skipped as before).
  • Every harness on the same probe: block_removal block_update composter crafter dispenser mace nether_portal random_tick redstone use_item_on: 10 passed.
  • cargo fmt --check, cargo clippy -p horizon-world --example world_probe -D warnings: clean.

🤖 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/5810 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/main-build-random-tick-push-up` --- ### 📝 Commits (1) - [`48af02d`](https://github.com/horizon-rust/horizon/commit/48af02d0a7fb6ed936b2e556a1ccc55792736720) random_tick: a block's push_entities_up lifts nobody in the probe's cases ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-world/examples/probe/block_update_fixture.rs` (+3 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What parity-main has failed on `random_tick` since #5100 (097cc8e88), which blocks the release. The run summary points at 2 oracle errors (`RegistryAccess.lookupOrThrow` on a `mangrove_propagule[stage=1]` growing a tree). Those were already there before #5100 and are skipped. They are not why it fails. The real failure is one differing case: ``` minecraft:dirt_path: 1 differing (tick, seed=178036246897) native set 0,0,-1 0 | set 0,0,0 10 | ft … | D minecraft:blocks/redstone_wire | G 0,0,0 minecraft:block_change | rng … rust set 0,0,-1 0 | set 0,0,0 10 | ft … | X push_entities_up | D minecraft:blocks/redstone_wire | G 0,0,0 minecraft:block_change | rng … ``` #5100 made `turn_to_base_block` emit a `push_entities_up` block event (the game uses it to lift entities, like `Block.pushEntitiesUp`). The block-update probe prints every block event it doesn't know as `X <kind>`. Vanilla's `pushEntitiesUp` moves only the entities in the new block's box, and these cases have no entities, so the oracle logs nothing. The probe now skips `push_entities_up`, like it already skips the other events that need someone nearby (shrieker, portal spawn…). The game's handling from #5100 is unchanged, and no case is dropped. ## Checks - `random_tick`: PASS before #5100 (eec161a4c), FAIL at 097cc8e88 and on main 7e5e3d1ad, PASS with this change (39998/39998; the 2 old oracle errors are still skipped as before). - Every harness on the same probe: `block_removal block_update composter crafter dispenser mace nether_portal random_tick redstone use_item_on`: 10 passed. - `cargo fmt --check`, `cargo clippy -p horizon-world --example world_probe -D warnings`: clean. 🤖 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-03 06:22:10 +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#6517
No description provided.