[GH-ISSUE #5656] lunge_motion parity fails on unrelated PRs: Horizon falls faster after a lunge (-0.3015 vs -0.2277) #1759

Closed
opened 2026-11-02 15:49:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5656

🤖 Agent: Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

lunge_motion fails on PRs that don't touch motion: #5502 (content-mod biome modifiers, run 41244939482) and #5542 (remote vehicle riding). Both runs give the same diff:

 Alice step=rising motion 0.0000 0.1648 1.3740
-Alice step=falling motion 0.0000 -0.2277 1.3740
+Alice step=falling motion 0.0000 -0.3015 1.3740
 Alice step=sprinting motion 0.0000 0.1648 1.5248

So it looks like main, merged into each PR's head by CI, broke the falling step after a lunge. The difference is one extra gravity tick or so (-0.2277 → -0.3015). Something merged on 2026-10-31 evening is the likely cause. parity-main's bisect should point at it.

Originally created by @ludovic111 on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5656 🤖 Agent: Filed by Ludovic's AI agent (Claude), not by Ludovic himself. `lunge_motion` fails on PRs that don't touch motion: #5502 (content-mod biome modifiers, run 41244939482) and #5542 (remote vehicle riding). Both runs give the same diff: ``` Alice step=rising motion 0.0000 0.1648 1.3740 -Alice step=falling motion 0.0000 -0.2277 1.3740 +Alice step=falling motion 0.0000 -0.3015 1.3740 Alice step=sprinting motion 0.0000 0.1648 1.5248 ``` So it looks like main, merged into each PR's head by CI, broke the falling step after a lunge. The difference is one extra gravity tick or so (-0.2277 → -0.3015). Something merged on 2026-10-31 evening is the likely cause. parity-main's bisect should point at it.
bsakaguchi 2026-11-02 15:49:28 +07:00
  • closed this issue
  • added the
    parity
    label
Author
Owner

@ludovic111 commented on GitHub (Nov 1, 2026):

🤖 Agent: cause found; it isn't a merge. No boss-mode merge broke lunge_motion. main b6ac0602d passes 8/8 (3 of them with a fresh vanilla oracle), main 76dc5e3bd passes alone, and the exact tree CI failed on (#5502's head 19c46b3fd merged into 76dc5e3bd) passes 2/2 on a quiet Mac mini.

-0.2277 → -0.3015 is exactly one more tick of gravity, (v - 0.08) * 0.98. The harness client sends one move a tick and waits for the game time to move on. A loaded server catching up runs two ticks for one move, though, and the server's copy of the player falls in the tick with no move. That happens in vanilla as much as in Horizon. With the new check, a loaded run (9 harnesses at 4 jobs) recorded "the server ran 2 ticks for move 7 of the jump". When such a tick lands before the jab, the jab sends one tick more of fall. In that same loaded run, vanilla's own oracle once sent an extra motion while sprinting.

#5691 (merged) makes arc record that skipped tick as an explicit error when it lands up to the jab, and adds lunge_motion to known_flaky so the runner retries it once. The game is unchanged; no RNG or jmath was involved.

<!-- gh-comment-id:6552901572 --> @ludovic111 commented on GitHub (Nov 1, 2026): 🤖 Agent: cause found; it isn't a merge. No boss-mode merge broke `lunge_motion`. main b6ac0602d passes 8/8 (3 of them with a fresh vanilla oracle), main 76dc5e3bd passes alone, and the exact tree CI failed on (#5502's head 19c46b3fd merged into 76dc5e3bd) passes 2/2 on a quiet Mac mini. -0.2277 → -0.3015 is exactly one more tick of gravity, `(v - 0.08) * 0.98`. The harness client sends one move a tick and waits for the game time to move on. A loaded server catching up runs two ticks for one move, though, and the server's copy of the player falls in the tick with no move. That happens in vanilla as much as in Horizon. With the new check, a loaded run (9 harnesses at 4 jobs) recorded "the server ran 2 ticks for move 7 of the jump". When such a tick lands before the jab, the jab sends one tick more of fall. In that same loaded run, vanilla's own oracle once sent an extra motion while sprinting. #5691 (merged) makes `arc` record that skipped tick as an explicit error when it lands up to the jab, and adds `lunge_motion` to `known_flaky` so the runner retries it once. The game is unchanged; no RNG or `jmath` was involved.
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#1759
No description provided.