Skip to content

train 1113095557: #3041 (CI only) - #3168

Closed
ashhart wants to merge 6 commits into
mainfrom
lead/train-1113095557
Closed

ashhart wants to merge 6 commits into
mainfrom
lead/train-1113095557

Conversation

@ashhart

@ashhart ashhart commented Nov 13, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #3041 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

…e names the folder

A rollback unlinked every path its snapshot's graphs list named that read as a fact graph. The list sits in
the model folder, so a folder copied or downloaded with a snapshot inside could name any fact graph of the
user's. A --slide server now also writes GRAPH.folders beside the fact graph, listing the folders that
learned from it, and a rollback removes a listed graph only when that file names the folder. The ones it
leaves are printed. A graph taught by an earlier version has no such file until a server next teaches the
folder.
…and a folders file it cannot read leaves the graph

After a rollback removed a graph, its folders file kept the other folders' names, so a graph made later at the same
path took them on and an old folder's rollback could remove it; the file now goes with the graph. A folders file
that cannot be read stopped a rollback that had already put the files back; it now counts as one that does not
name the folder, the graph stays, and the rollback prints why. A folders file left behind after its graph is
removed is printed too, not fatal. test-originals-host runs the snapshot and rollback tests on Linux and macOS.
…tocol byte

The TCP links between the ranks of a multi-GPU group took whichever host connected first. Both ends now
send a fresh nonce and an HMAC-SHA256 over the nonces, the link, the rank and the group size, on the
bootstrap, the liveness lines, the HIP link and the Flash Next pair. A connection that fails is closed
and cannot stop the group. Ranks with no key meet on one host only. TF_RANK_SECRET_FILE or --rank-secret
names the key file. Later frames are not signed and the links are not encrypted.
… gets 2 s

- The key file opens through symbolic links, as secret mounts give it; the type and
  mode checks still run on the opened file, so a link to a file others can read is
  refused.
- Rank keys need 32 bytes after trailing whitespace. The shared loader takes the
  minimum from its caller: rank links pass 32 and the stage ring keeps its 16, so
  every stage ring that starts today keeps starting.
- A missing, different or short key's error names serve --rank-secret FILE and a
  one-line command that makes a key.
- Rank 0 logs each refused connection with the peer's address and the reason.
- An acceptor waits 2 s for the hello, so a silent connection no longer holds the
  serial accept for the whole 10 s budget.
- The Flash Next CUDA rank device test passes the new secret argument to Link.open.
ashhart added a commit that referenced this pull request Nov 13, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
@ashhart

ashhart commented Nov 13, 2026

Copy link
Copy Markdown
Owner Author

Closed: CI found zig/src/cuda/root.zig changed without its serving pin. #3041 now re-pins the four serving sources it changes (d4d101a) and goes back through the landing queue with #3075.

@ashhart ashhart closed this Nov 13, 2026
ashhart added a commit that referenced this pull request Nov 14, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 14, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 14, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 14, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 17, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 17, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 18, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 21, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 22, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 22, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 23, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 23, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
ashhart added a commit that referenced this pull request Nov 23, 2026
test-gradient-serving pins the bytes of the maintained serving sources; the
train CI for this branch (#3168) stopped at zig/src/cuda/root.zig, but four
differ:

- zig/src/cuda/root.zig: tp_line.zig's tests are imported.
- zig/src/cuda/tp_watch.zig, zig/src/families/flashnext/cuda_rank_engine.zig
  and cuda_rank_wire.zig: rank connections prove a shared key before their
  first protocol byte (b83c447).

Each row takes its file's new hash, with the change named beside it.
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