[PR #2499] [MERGED] remote_fireball: a slow fireball, sampled from one ctl process #4369

Closed
opened 2026-11-03 04:16:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/remote-fireball-ticks


📝 Commits (1)

  • 031f1e5 remote_fireball: a slow fireball, sampled from one ctl process

📊 Changes

2 files changed (+13 additions, -8 deletions)

View changed files

📝 tools/lan_e2e.py (+4 -3)
📝 tools/test_remote_fireball_parity.py (+9 -5)

📄 Description

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

remote_fireball is a true flake: it failed 3 times on the desktop runner on 10-26, and it is in known_flaky. It sampled the guest's fireball from a new horizon-ctl process each time. On a loaded host the samples landed 10-16 ticks apart. A default fireball (~2 blocks a tick) then left the cleared corridor or the guest's tracking range before the sixth sample, and the harness failed with "fireball visible in only N samples".

Now:

  • A slower fireball. It flies with acceleration_power:0.02d (under 0.4 blocks a tick) down a corridor cleared to +96 blocks. The client's own advancing between tracker packets is still what's checked: every sample must move.
  • One ctl process for all samples. The guest takes 16 samples (status, wait 1) in a single ctl script. lan_e2e.Game.script(lines, every=True) now returns every reply; existing callers are unchanged.

Tested on playhorizon (8 vCPU, shared with other work) with tools/remote.sh … python3 tools/parity.py --repeat N remote_fireball. Each run covers both the server-thread and the in-frame host:

Version Runs Result
main's harness — failed on CI 3 times on 10-26
first attempt (faster sampling only) 3 1 pass, 2 fail
second attempt (fireball behind the guest) 3 2 pass, 1 fail
this PR 4 4 pass

I'll take remote_fireball off known_flaky in a follow-up once #2496 (which removes the line next to it) merges, so the two don't conflict.

skip-release: test tooling only.

🤖 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/2499 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/remote-fireball-ticks` --- ### 📝 Commits (1) - [`031f1e5`](https://github.com/horizon-rust/horizon/commit/031f1e58a3984cb9fb793414f4e94ee670d414fe) remote_fireball: a slow fireball, sampled from one ctl process ### 📊 Changes **2 files changed** (+13 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `tools/lan_e2e.py` (+4 -3) 📝 `tools/test_remote_fireball_parity.py` (+9 -5) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `remote_fireball` is a true flake: it failed 3 times on the desktop runner on 10-26, and it is in `known_flaky`. It sampled the guest's fireball from a new `horizon-ctl` process each time. On a loaded host the samples landed 10-16 ticks apart. A default fireball (~2 blocks a tick) then left the cleared corridor or the guest's tracking range before the sixth sample, and the harness failed with "fireball visible in only N samples". Now: - **A slower fireball.** It flies with `acceleration_power:0.02d` (under 0.4 blocks a tick) down a corridor cleared to +96 blocks. The client's own advancing between tracker packets is still what's checked: every sample must move. - **One ctl process for all samples.** The guest takes 16 samples (`status`, `wait 1`) in a single ctl script. `lan_e2e.Game.script(lines, every=True)` now returns every reply; existing callers are unchanged. Tested on playhorizon (8 vCPU, shared with other work) with `tools/remote.sh … python3 tools/parity.py --repeat N remote_fireball`. Each run covers both the server-thread and the in-frame host: | Version | Runs | Result | |---|---|---| | main's harness | — | failed on CI 3 times on 10-26 | | first attempt (faster sampling only) | 3 | 1 pass, 2 fail | | second attempt (fireball behind the guest) | 3 | 2 pass, 1 fail | | this PR | 4 | 4 pass | I'll take `remote_fireball` off `known_flaky` in a follow-up once #2496 (which removes the line next to it) merges, so the two don't conflict. skip-release: test tooling only. 🤖 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 04:16:39 +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#4369
No description provided.