Repository navigation
Conversation
Refs #967 (cherry picked from commit c6da00c71c7de20c1c68ef7d315401a6aa1223fb)
bloodf
left a comment
There was a problem hiding this comment.
Please exercise the real dispatcher before merging 4cc3d29. The current regression constructs the journal claim and finish flow itself. Add simulator-only coverage for an uncertain send after link loss, binding replacement and journal reopen, refusal of the subsequent write, and audited hold clearance. Keep the hardware qualification requirements and #967 open.
Signed v2 commands go through the shipped pause dispatcher, the command journal and the production driver router into the HALOT driver, against the loopback simulator with a test-only qualification. A pause whose link drops after the printer applied it ends uncertain; after a Connector restart (new binding, reopened journal) every write is refused busy; an owner or admin clear_hold writes one audit line and releases; the next resume is sent once and confirmed. The simulator gains a drop-after-command fault, and the v2 dispatch helper can provision a non-Moonraker binding. Refs #967 (cherry picked from commit 868f5809d0f442257b265a904703fc96165b5721)
bloodf
left a comment
There was a problem hiding this comment.
Rechecked 42c7133: no blocking findings in the dispatcher regression. The simulator test exercises signed commands through the production dispatcher and router, verifies the uncertain hold across journal reopen and binding replacement, blocks pause/resume/cancel until audited owner/admin clearance, and confirms one subsequent resume. The shared helper retains the Moonraker default. The two new hold tests and 22 HALOT/Moonraker regression tests passed. Please merge only after all required checks pass on the current head. #967 remains open for hardware qualification prerequisites.
Draft until the Full Review verdict on the exact head.
HALOT prerequisites that need no hardware (#967). HALOT writes still ship disabled (
HALOT_QUALIFIED_WRITESis empty).PRINT_END/PRINT_GENERALno longer confirm a cancel; a qualification entry must name its explicit stop word (cancelReached), otherwise the outcome stays uncertain.outcome-unknownuntilclear_hold) is the source of truth, so a rebuilt binding cannot write while the journal holds. This moves "an unapplied command holds later writes" fromhalot-runtime.test.tstofix-967.test.ts("journal hold survives rebinding and only clear_hold releases writes").PRINT_STOPis refused by default; the allowed states are per-model data in the qualification entry (resumeFrom).tests/node/fix-974r.test.tssends signed v2 commands through the shipped pause dispatcher, command journal and production driver router into the HALOT driver, against the loopback simulator with a test-only qualification. A pause whose link drops after the printer applied it ends uncertain; after a Connector restart (new binding, reopened journal) every write is refused busy; an owner/adminclear_holdwrites one audit line and releases; the next resume is sent once and confirmed. The simulator gains a drop-after-command fault;tests/helpers/command-v2-dispatch.tscan now provision a non-Moonraker binding (Moonraker default unchanged).docs/fullfarmmanager/evidence/halot.mdas a precondition for qualification, so [medium] HALOT: prerequisites before qualifying any model for writes #967 stays open.Validated:
fix-967,halot-runtimeandhalot-protocolnode tests, 29/29. The host's required checks must pass on this head before merging.Refs #967