[PR #7689] [MERGED] command_exec: let the trial spawner's last pair finish dying #7763

Closed
opened 2026-11-03 07:23:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/command-exec-trial-spawner-dying


📝 Commits (2)

  • faa200b command_exec: let the trial spawner's last pair finish dying
  • 5ed4c1b Merge main into the command_exec trial spawner fix

📊 Changes

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

View changed files

📝 tools/command_exec_corpus.py (+3 -0)

📄 Description

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

#7268's trial spawner passenger cases fail on main: in vanilla, cases 1 to 3 spawn nothing (12 mismatches, Test failed against Horizon's Test passed. Count: 1).

Each case killed its zombie and chicken and set the next spawner at once. A killed mob stays in the world for 20 ticks while it dies, and TrialSpawner.spawnMob ends with Mob.checkSpawnObstruction (level.isUnobstructed), which a dying zombie on the same Pos still fails. Case 0 had no corpse in the way, so only it spawned. The fix waits 25 ticks after the kills, so every case tests the passengers it was written for.

Horizon spawns through a dying mob where vanilla doesn't; that is a separate gap, not what this scene is about.

Self-check

  • python3 tools/parity.py command_exec on main plus this commit (and #7418's fix): PASS, 1615/1615 commands match (before: 1602/1615, these 12 plus #7418's attribute case).

🤖 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/7689 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/command-exec-trial-spawner-dying` --- ### 📝 Commits (2) - [`faa200b`](https://github.com/horizon-rust/horizon/commit/faa200b663b37e1ab0668282ad812d89fb48a82c) command_exec: let the trial spawner's last pair finish dying - [`5ed4c1b`](https://github.com/horizon-rust/horizon/commit/5ed4c1b82250af132bf6022578846d2e8fee913f) Merge main into the command_exec trial spawner fix ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tools/command_exec_corpus.py` (+3 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. #7268's trial spawner passenger cases fail on main: in vanilla, cases 1 to 3 spawn nothing (12 mismatches, `Test failed` against Horizon's `Test passed. Count: 1`). Each case killed its zombie and chicken and set the next spawner at once. A killed mob stays in the world for 20 ticks while it dies, and `TrialSpawner.spawnMob` ends with `Mob.checkSpawnObstruction` (`level.isUnobstructed`), which a dying zombie on the same `Pos` still fails. Case 0 had no corpse in the way, so only it spawned. The fix waits 25 ticks after the kills, so every case tests the passengers it was written for. Horizon spawns through a dying mob where vanilla doesn't; that is a separate gap, not what this scene is about. ## Self-check - `python3 tools/parity.py command_exec` on main plus this commit (and #7418's fix): PASS, 1615/1615 commands match (before: 1602/1615, these 12 plus #7418's attribute case). 🤖 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 07:23:54 +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#7763
No description provided.