Repository navigation
Conversation
|
Same flake, independently measured tonight on Windows 10: 1 failure in 12 whole-binary runs at four-way process load, 0 in 16 serial, 0 in 24 with the test run alone. Your reading is right, and I want to add one mechanism note plus an alternative I have ready but have not opened as a PR, so you are not asked to review two things at once. Why it fails. The assertion is What I did differently.
The test then finishes in 0.00 s and never sleeps. Probes: make the next tick the current tick ( The trade, plainly. Mine adds a seam to shipping code ( One thing worth keeping from the current test whichever version lands: |
…tchdog switches and three test fixes listed The fork now follows victory-fork through a merge of its 3973179. The table of what the fork adds gains fxceless#955 (pipeline workers, off by default), the opt-in title watchdog hook from fxceless#959 (off by default, not used in the measurement recorded here) and the three test fixes fxceless#963, fxceless#952 and fxceless#978. English and Spanish. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The frame-wait test can fail when the runner is descheduled. It expects a wait to finish within 50 ms of wall time and every flip to use an adjacent 5 ms tick. The frame clock can legitimately skip ticks when work is delayed. This was also reported in #970.
Keep checking the actual wait calls, timeouts, frame tokens, and strict increase in flip ticks. Move the exact timing assertions to a test of the existing next-tick calculation using fixed elapsed times. It covers phase, an early wake and a missed tick.
The original fixture failed with either a 65 ms pause at the upper wall-clock bound or 20 ms pauses before flip waits. The patched tests passed with both controls. A mutation that ignored the previous tick failed the new clock test. Both tests passed on native Windows in the default and legacy late-wait modes. The asset policy passed.
This covers the sequential tests. The concurrent title-wait behavior addressed by #325 is separate.
Windows verification
AI-assisted using Codex.