Skip to content

Stabilise PendingPause_ActivatesAfterSnapCompletes on CI#108

Merged
sjvrensburg merged 1 commit intomainfrom
fix/flaky-pause-test
Apr 14, 2026
Merged

Stabilise PendingPause_ActivatesAfterSnapCompletes on CI#108
sjvrensburg merged 1 commit intomainfrom
fix/flaky-pause-test

Conversation

@sjvrensburg
Copy link
Copy Markdown
Owner

Summary

Test-only fix. The RailNavTests.PendingPause_ActivatesAfterSnapCompletes test failed once on CI (PR #107 run) due to Thread.Sleep scheduling jitter against a tight 50ms pause boundary.

  • Bumps the auto-scroll pause from 50ms → 200ms.
  • Sleeps 3× the pause (600ms) before the post-pause tick.
  • Bumps per-tick dt from 10ms to 50ms so the scroll tick produces observable camera movement on slow runners.

No production code change. No version bump.

Test plan

  • Target test passes locally (multiple runs)
  • Full Core suite (249/249) passes

🤖 Generated with Claude Code

Bump the auto-scroll pause from 50ms to 200ms and the post-pause sleep
to 3x the pause, so Thread.Sleep scheduling jitter on CI runners can't
defeat the timing margin. Also bump the per-tick dt from 10ms to 50ms
so the post-pause scroll tick produces observable camera movement even
on slow machines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sjvrensburg sjvrensburg merged commit a27cf11 into main Apr 14, 2026
1 check passed
@sjvrensburg sjvrensburg deleted the fix/flaky-pause-test branch April 14, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant