[PR #4089] [MERGED] command_exec oracle: wait for entities by the clock, not 400 ticks #5410

Closed
opened 2026-11-03 05:12:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/command-exec-oracle-settle


📝 Commits (1)

  • 30fcf2c command_exec oracle: wait for entities by the clock, not 400 ticks

📊 Changes

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

View changed files

📝 mods/horizon/src/test/java/dev/horizonlab/parity/VanillaCommandExecOracle.java (+6 -2)

📄 Description

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

main's parity has failed on command_exec since 2026-10-29 22:05 (parity-main runs 40963110077, 40967647981; PR runs such as #3756's 40965366188). The failure is on the vanilla side: VanillaCommandExecOracle.Server.settle throws entities around the player did not load.

settle ticked at most 400 times with a 5 ms sleep (~2–4 s) waiting for the 5×5 chunks around the player to be entity-ticking. Vanilla loads entity sections on other threads, so on a busy runner (the Mac mini was at 90 % CPU) that ran out. It now waits up to 120 s by the clock; the number of ticks it takes already depended on timing, so the oracle's output is unchanged. No other oracle has this wait.

Parity-main's bisect named #3360 (a one-line launcher change), which can't affect this harness: it was load, not a commit.

Test

python3 tools/parity.py --fresh command_exec on this branch (Mac mini, CPU ~85 %): PASS command_exec 36s.

🤖 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/4089 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/command-exec-oracle-settle` --- ### 📝 Commits (1) - [`30fcf2c`](https://github.com/horizon-rust/horizon/commit/30fcf2c30cfeb2f78ca681c7384853bb187b3016) command_exec oracle: wait for entities by the clock, not 400 ticks ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `mods/horizon/src/test/java/dev/horizonlab/parity/VanillaCommandExecOracle.java` (+6 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. main's parity has failed on `command_exec` since 2026-10-29 22:05 (parity-main runs 40963110077, 40967647981; PR runs such as #3756's 40965366188). The failure is on the vanilla side: `VanillaCommandExecOracle.Server.settle` throws `entities around the player did not load`. `settle` ticked at most 400 times with a 5 ms sleep (~2–4 s) waiting for the 5×5 chunks around the player to be entity-ticking. Vanilla loads entity sections on other threads, so on a busy runner (the Mac mini was at 90 % CPU) that ran out. It now waits up to 120 s by the clock; the number of ticks it takes already depended on timing, so the oracle's output is unchanged. No other oracle has this wait. Parity-main's bisect named #3360 (a one-line launcher change), which can't affect this harness: it was load, not a commit. ## Test `python3 tools/parity.py --fresh command_exec` on this branch (Mac mini, CPU ~85 %): `PASS command_exec 36s`. 🤖 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 05:12:25 +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#5410
No description provided.