 Joseph MaglyandClaude Opus 5.5
|
07929a33c2
|
test(distributed): cover config, contract, journal, launcher and VERIFY edges (#304)
Add single-process unit tests for fail-closed validation and error paths in
the distributed stack, using fakes, monkeypatching and private tmp dirs
instead of new Gloo tests:
- config/contracts: schema v2 model profiles, schema/model pairing,
mid-read profile changes, text/shape/kind validators, StageMessage
decoding, canonical-record cycles and byte bounds, streamed digests.
- journal: argument admission, storage mismatches, serialization and
payload bounds, short writes, non-private entries, close failures,
tampered or swapped payloads, restore/copy failures, cleanup refusals.
- launcher: private allowlisted endpoints, membership mismatches,
interface address filtering, init failure codes, and fd/diagnostic
guard failures (pipe/dup/dup2/read/flush errors, reader overrun).
- verification(_contracts): closed summary/evidence records, tokenizer
output validation, chat-template tokenization, and one-rank fakes for
every collective guard (broadcast, logit error, state roots, evaluate,
metrics, lifecycle, state transition, revalidation).
- mocked two-rank world: baseline and VERIFY summary consensus failures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
2026-10-14 17:02:10 -04:00 |
|