| name | release |
| description | mlx-serve pre-release validation checklist, CalVer versioning, release steps, and CHANGELOG style. Use when preparing or cutting a release, running pre-release validation, or writing CHANGELOG entries. |
Pre-release validation — ALWAYS run this, same process every time
Timings measured 2026-07-16 on the M4 Max 128 GB, AFTER the stop_all_engines port-wait fix (before it, everything below was ~2.2× slower — see the gotcha in Benchmarking).
| # | Step | Command | Time |
|---|
| 1 | Hermetic suite | zig build test (must be 6/6 steps, 0 fail) + cd app && swift test | ~1 min |
| 2 | ReleaseFast binary | zig build -Doptimize=ReleaseFast → du -h zig-out/bin/mlx-serve ≈ 7 MB (Debug ≈ 2× = fake regression) | ~10 s |
| 3 | Perf gate (did WE regress?) | ./tests/bench.sh (mlx-serve only, llmprobe) → diff vs the previous column in benchmarks.md → append this release's column | ~15 min |
| 4 | Tool-call correctness | zig build test -Dtest-filter="format corpus" + -Dtest-filter="tool traffic"; live: ./tests/test_tool_matrix_small.sh | ~3 min |
| 5 | API conformance | npx llmprobe@latest http://127.0.0.1:<port>/v1 --quick → expect 100% engine conformance | ~10 s/model |
|