webui: dashboard hand-mirrors control-plane validators with no parity test #1609

Closed
opened 2026-10-27 13:41:05 +00:00 by sam · 0 comments
Owner

ui/src/settings/validation.ts re-implements three control-plane validators (validateScheduling, validateSchedules, validateModelRoles) with no shared source and no parity test. The model-role rule has already diverged: the client requires a regex (^[^/\s]+/\S+$) while the server uses strings.Contains(model, "/"). Same class as archie-core-phpx but for behaviour rather than vocabulary.

Acceptance criteria

A shared fixture table runs the same cases through the real server validators (Go test) and the real dashboard validators (node test), and fails on any disagreement; the model-role divergence is closed.

Close reason

Landed on crew/l41-validators as a02a2dca; captain owns the merge


Imported from beads archie-core-ui-dashboard-3 · GitHub #1458 · type bug · priority P2 · created 2026-10-02 · closed 2026-10-02

ui/src/settings/validation.ts re-implements three control-plane validators (validateScheduling, validateSchedules, validateModelRoles) with no shared source and no parity test. The model-role rule has already diverged: the client requires a regex (^[^/\s]+/\S+$) while the server uses strings.Contains(model, "/"). Same class as archie-core-phpx but for behaviour rather than vocabulary. ### Acceptance criteria A shared fixture table runs the same cases through the real server validators (Go test) and the real dashboard validators (node test), and fails on any disagreement; the model-role divergence is closed. ### Close reason Landed on crew/l41-validators as a02a2dca; captain owns the merge --- _Imported from beads `archie-core-ui-dashboard-3` · GitHub #1458 · type bug · priority P2 · created 2026-10-02 · closed 2026-10-02_
sam added the mediumbug labels 2026-10-27 13:41:05 +00:00
sam self-assigned this 2026-10-27 13:41:05 +00:00
sam closed this issue 2026-10-27 13:41:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1609