Commit Graph
9 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 bd202abb98 fix: address review findings (multistep)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 11:56:18 -04:00
Joseph MaglyandClaude Opus 5.5 8f3e76a623 fix(gsq): recheck inputs after assembly, validate loader metadata, contain shard refs
- Re-verify consumed shards, progress.json, base-model files, and the
  GSQ/model configs after save_model.py returns; refuse if any changed
  during assembly.
- Require quantization_status "compressed", no input/output activation
  schemes, and the static, non-reordered weight scheme the pinned
  assembler writes.
- Require assembled index references to be plain top-level
  assembler-named shards contained in the output directory.
- Map the GSQ source pin, CLI entrypoint, and docs to the GSQ tests, and
  let mapped non-production paths select their surface tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:35:14 -04:00
Joseph MaglyandClaude Opus 5.5 18857ca331 ci: split pr-core into selection, core, and Gloo jobs
Replace the in-job concurrent pytest processes with separate jobs, each
with its own runner and 10-minute budget. PR test selection runs once
and publishes the selected list and deterministic duration-balanced
Gloo shard lists (shard count is one constant). PR core tests and the
PR gloo tests matrix upload candidate-bound status, JUnit, logs and
coverage data. The required Pull request core job needs all three,
runs always(), fails closed unless every upstream job succeeded and
every partition that ran supplied coverage, combines accepted data in
an isolated directory, and runs the unchanged changed-line floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 16:35:24 -04:00
Joseph MaglyandClaude Opus 5.5 ba95833170 Revert three-process Gloo sharding in pr-core
Two real CI runs (37676597269 attempts 1 and 2) showed that two
concurrent Gloo shards oversubscribe the 4-vCPU hosted runner: each
shard took about as long as the whole single Gloo partition did (4m20s
to 4m36s), the core partition slowed from about 50s to 1m40s, and one
cold-start readiness bound failed. Test-step wall time did not improve
(4m38s to 4m40s versus 4m32s to 5m57s). Restore the two-process design.

This reverts commits 8681ef7 and 7f8a2d7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 15:54:57 -04:00
Joseph MaglyandClaude Opus 5.5 8681ef718b ci: shard pr-core Gloo tests across two duration-balanced processes
Split the selected test files into two Gloo shards by deterministic
longest-first assignment over a committed duration table measured from
CI JUnit. Every selected file lands in exactly one shard, so unlisted
Gloo files still run. pr-core now runs three concurrent pytest
processes with the same exit-code, empty-side, artifact and coverage
combine rules; an empty shard never invokes pytest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 15:39:58 -04:00
Joseph MaglyandClaude Opus 5.5 97201d6f10 fix: bound native checkpoint export by per-shard staging
Plan native Hugging Face export from state_dict metadata without
materializing offloaded weights, then stage, verify and promote one
safetensors shard at a time inside the existing atomic checkpoint
directory, checking cancellation and the host budget before each shard.
Unsupported models (quantized, PEFT, TP/FSDP, remote code, custom
state_dict hooks, shared meta aliases) keep the legacy full-gather path.

native_export_host_demand() reports the per-shard peak host demand so a
REBIRTH-boundary admission can consume it.

Closes #247

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 11:38:22 -04:00
Joseph Magly 7a2a49b435 test: constrain risk overlays to measured coverage 2026-08-14 21:19:38 -04:00
Joseph Magly b4c69a468b test: harden traceability policy validation 2026-08-14 21:19:38 -04:00
Joseph Magly 9746c21b63 test: enforce Wave A quality lock 2026-08-14 19:47:46 -04:00