Files
alzeo/tests
Hasan Basbunar f40892d4bf no-download updates: a Load of an update that waits runs the switch's steps after the fetch
The Load's prepare fetched the new revision with `switch-model.sh <target> --fetch`, which
stops right after the download, so on the serving lane's short path (prepare, apply_pending,
restart, no switch) the new checkpoint's config.json was never YaRN-patched for a 1M unit (which
does not load on an unpatched config), never restored for a native one, Arete's fp8 KV cache was
never declared, and the chat template was never regenerated from the new revision (sixth review
of v1.52.0, 2026-11-19, GLM 5.3, defect 1, verified in the code and on the box: the 27B serves the
1M window). The switch's steps 2, 2a and 2b are now one function, lanes.sh's
`patch_served_checkpoint`, which the switch calls with the unit in place and prepare-lane.sh,
when an update waits for this Load and this Load loads its target, with the unit that waits and
the cache it mounts: the 27B and the flash serve their new revision with those steps done, on the
short path as on the other. The patches are idempotent, so a journey that runs both changes
nothing twice. tests/test_prepare_load_wait.py runs the prepare on a fabricated cache and fails
on the code before (config unpatched, no template); test_switch_native_restore and
test_arete_target read the function where it now lives.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:44:17 +01:00
..