Repository navigation
Report the agreed cluster view when bring-up completes - #4135
Conversation
|
Thanks @AIFlowML, and thanks for the reproduction on #4123. This is the right fix, and it is more complete than the one we had prepared in #4139: besides reporting the leader, epoch and view digest recorded at the planned point,
|
|
The older Zig, Zig-B and Zig-Windows jobs failed at the missing The trial merge is also clean against newer main The combined #4293 train Igor Lessio - AIFLOW LABS |
43be154 to
2a4d387
Compare
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
What this changes
A rank could finish agreeing on the full cluster, process a peer's goodbye, and report the smaller live view. Bring-up now returns the agreed leader, epoch, and view digest, and checks that peer acknowledgments match that view. The regression test checks that the report stays stable even after the live membership shrinks.
mainat90191f7c8555334f35a1e14bb5a5775e515830dd.atc overlap --json: 2026-11-20 02:14 UTC against the base above. ATC reported zero overlaps in its scan. A separate check of all 452 open PRs found three touching these files. tests: the drafter-auto benchmark test and two cluster bring-up tests stop flaking #3750 merged cleanly with this head. The two CI train branches already conflicted with base in the same hunks. This head introduced zero conflicts.Checks on this head
43be154f145d6d908e9859328c20ea71dd011aff.python3 tools/zig/lean_check.py: 168 inherited findings on both base and head, zero new.zig fmt --check build.zig zigandgit diff --checkpassed.zig build test-cluster-membership-host -Dcpu=apple_m1 -j4 --summary allpassed all five steps. On the changed test executable, 37 passed and one skipped. Repeating that executable reproduced the reported digest mismatch in 4 of 32 base runs and 0 of 64 head runs.zig build test-cluster-membership-host -Dfixed-cpu -j4 --summary allpassed all five steps on both base and head (47 passed, one skipped each). In 96 additional runs per commit, the target mismatch fell from 4 to 0. The separate existing watch-duration assertion failed four times on base and twice on head. It compares time spent inwatch()with a timeout measured from the last heartbeat, which can arrive beforewatch()starts.zig build test test-golden -Dcpu=apple_m1 -j8 --summary allreported 15,089 passing tests and 134 skips.test-goldenpassed. The combined command exited 1 because the Qwen3.5 CUDA training host test could not import thelivingmodule. The same compilation error reproduced on the base withzig build test-cuda-host -Dcpu=apple_m1 -j6 --summary all. The full-suite and stress receipts above used base727153cb33876173efb256d60a12e69413cf1248and head1c55a7f780f5a2e33f0277c6507d015072905abd. The final rebase kept the cluster code and its regression identical.zig build test-cluster-membership-host test-golden -Dcpu=apple_m1 -j6 --summary allpassed all 10 steps on the final head, with 47 tests passed and one skipped.Receipt
Checklist
Igor Lessio - AIFLOW LABS