[PR #2589] [MERGED] lan_e2e fireworks: pass on a runner that draws frames on the CPU #4451

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

📋 Pull Request Information

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

Base: main ← Head: fix/remote-fireworks-slow-screens


📝 Commits (1)

  • bedba4a lan_e2e fireworks: count newly red pixels, take the later shots 4 ticks after the burst

📊 Changes

1 file changed (+13 additions, -9 deletions)

View changed files

📝 tools/lan_e2e.py (+13 -9)

📄 Description

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

remote_fireworks failed twice in a row on playhorizon, which takes PR parity jobs since today: it failed #2486's proof job, even with its retry, with no later red trail/fade: {'host': -3870, 'guest': 0}. It passes on the Mac mini.

What went wrong there:

  • Too late: the frames are drawn on the CPU (lavapipe), so each screenshot takes about 0.6 s. With a 16-tick wait, the "trail/fade" shots came ~2.1 s after the burst's, by which time the sparks (48-59 ticks) were gone from both views.
  • Negative count: the baseline shot holds the setup's own red chat lines ("No blocks were filled"). They had faded by the later shots, and the plain count difference turned that into −3870.

The fix:

  • The check counts pixels that are red where the baseline wasn't. That count is never lower than the old difference.
  • The later shots come 4 ticks after the burst's. The tracked rocket is already gone by then (the check still asserts it).

On playhorizon, parity.py --repeat 3 remote_fireworks: 3 of 3 pass. Last run's counts:

burst (host / guest) trail-fade (host / guest)
server-thread 292392 / 57143 92970 / 18484
in-frame 275308 / 171503 83421 / 39017

The threshold is 20.

🤖 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/2589 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/remote-fireworks-slow-screens` --- ### 📝 Commits (1) - [`bedba4a`](https://github.com/horizon-rust/horizon/commit/bedba4a3d9a4bf2d3fe5e873ca49f8b6a1009c2c) lan_e2e fireworks: count newly red pixels, take the later shots 4 ticks after the burst ### 📊 Changes **1 file changed** (+13 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `tools/lan_e2e.py` (+13 -9) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `remote_fireworks` failed twice in a row on playhorizon, which takes PR parity jobs since today: it failed #2486's proof job, even with its retry, with `no later red trail/fade: {'host': -3870, 'guest': 0}`. It passes on the Mac mini. What went wrong there: - **Too late:** the frames are drawn on the CPU (lavapipe), so each screenshot takes about 0.6 s. With a 16-tick wait, the "trail/fade" shots came ~2.1 s after the burst's, by which time the sparks (48-59 ticks) were gone from both views. - **Negative count:** the baseline shot holds the setup's own red chat lines ("No blocks were filled"). They had faded by the later shots, and the plain count difference turned that into −3870. The fix: - The check counts pixels that are red where the baseline wasn't. That count is never lower than the old difference. - The later shots come 4 ticks after the burst's. The tracked rocket is already gone by then (the check still asserts it). On playhorizon, `parity.py --repeat 3 remote_fireworks`: 3 of 3 pass. Last run's counts: | | burst (host / guest) | trail-fade (host / guest) | |---|---|---| | server-thread | 292392 / 57143 | 92970 / 18484 | | in-frame | 275308 / 171503 | 83421 / 39017 | The threshold is 20. 🤖 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:17:15 +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#4451
No description provided.