[PR #2127] [MERGED] server_ops_feedback: end steps on the server's clock, not on sleeps #4028

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

📋 Pull Request Information

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

Base: main ← Head: fix/ops-feedback-clock


📝 Commits (2)

  • f0649da parity: server_ops_feedback ends steps on the server's clock, not a 2 s sleep
  • e944bd2 Merge main (#2114 merged)

📊 Changes

1 file changed (+19 additions, -23 deletions)

View changed files

📝 tools/test_server_ops_feedback_parity.py (+19 -23)

📄 Description

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

The same fix as #2114, for server_ops_feedback: each step ends with a sync round trip and N ticks of the server's game clock, using #2114's Client, instead of a fixed sleep.

Proof (ci-flakes-1, with a SIGSTOP/SIGCONT stall injector on the server's own PID, ~/code/horizon-parity/ci-speed/stall_injector.py): the old harness fails under 2.5 s stalls; the new one passes 3 of 3. Vanilla's compared transcript is unchanged. CI parity runs this harness (the PR changes it).

🤖 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/2127 **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/ops-feedback-clock` --- ### 📝 Commits (2) - [`f0649da`](https://github.com/horizon-rust/horizon/commit/f0649da024e683e1a2b3815a99033b06e63deb7b) parity: server_ops_feedback ends steps on the server's clock, not a 2 s sleep - [`e944bd2`](https://github.com/horizon-rust/horizon/commit/e944bd2a0eaaaa856e2c1fad85845d14d4ed14ec) Merge main (#2114 merged) ### 📊 Changes **1 file changed** (+19 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `tools/test_server_ops_feedback_parity.py` (+19 -23) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The same fix as #2114, for `server_ops_feedback`: each step ends with a sync round trip and N ticks of the server's game clock, using #2114's `Client`, instead of a fixed sleep. Proof (ci-flakes-1, with a SIGSTOP/SIGCONT stall injector on the server's own PID, ~/code/horizon-parity/ci-speed/stall_injector.py): the old harness fails under 2.5 s stalls; the new one passes 3 of 3. Vanilla's compared transcript is unchanged. CI parity runs this harness (the PR changes it). 🤖 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:14:08 +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#4028
No description provided.