Repository navigation
tests: the drafter-auto benchmark test and two cluster bring-up tests stop flaking - #3750
Merged
Merged
Conversation
8 tasks done
This was referenced Nov 19, 2026
4 tasks done
This was referenced Nov 20, 2026
…separate reads benchmark_run_test's "--drafter auto passes the family's drafter only when it is cached ..." failed in PR CI with "expected 0, found 2" (line 208, and on a loaded host line 200 too). Exit 2 is an unmeasured sample: benchmark_sse counts a stream as measured only when its last text event arrived after its first (benchmark_sse.zig:143-146), and benchmark_stream stamps an event with the time of the read that brought its line (benchmark_stream.zig:203). The fake sent the first event, paused 15 ms, then the second (benchmark_fake.zig:258); a reader descheduled for longer than that took both events in one read, with one timestamp. fake.apart pads the first event with 1 MiB of SSE comment lines, more than the client's 576 KiB read buffer, so the second event is always parsed from a later fill however late the reader runs. managedWorld and draftedWorld use it. No engine code changes and every assertion stays.
…ep clock bringup_test's "two ranks settle on the real clock and agree on one plan and view; a goodbye ends the other's watch by name" and "a peer that stops after agreeing is found dead by name within the membership's dead time" failed on busy runners. Both ran two ranks on the real clock with a 120 ms suspect time: a rank descheduled that long is suspected by the other, and the views differ. In the first test, rank 0 also says goodbye as soon as its own up() returns; when that goodbye reaches rank 1 before rank 1's up() returns, rank 1 reports a view without rank 0 (expected 5693255286640881692, found 3698603761711287178 at bringup_test.zig:97). - bringup.Options gains a clock (bringup.Clock: now and pause); its default is fabric.words' monotonic clock and sleep, so Live behaves as before. up, watch and leave read it. - The two tests drive both ranks on a Lockstep clock that advances only once every running rank waits, and the leaving rank says goodbye only after its peer's up() has returned. The first test's name says lockstep clock. - The plan-mismatch, never-settled, wrong-peer and liar tests keep the real clock: they wait for a refusal or a deadline, not for two ranks to agree in time. Every assertion stays.
ashhart
force-pushed
the
lead/ci-flakes-d937
branch
from
November 20, 2026 08:21
d04c7f0 to
299ed8b
Compare
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
ashhart
added a commit
that referenced
this pull request
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two test files caused most of the red PR CI runs this week (zig-b test-host-b) while main stayed green.
Test-only, except the clock option, which defaults to today's behaviour. No engine output changes.