Migrate dashboard data APIs to State Store read contracts #1152

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

Replace webui task, capture, mapping, binding, log, and health data paths that still depend on concrete internal/store objects with the State Store read contracts. Preserve pagination, filtering, event joins, authorization, protocol status/headers, and combined dashboard views. Add local-adapter and remote/bufconn coverage for each endpoint family.

Close reason

Test-only, committed as 306886b. Added remote/bufconn coverage that stands up a real SQLite store behind staterpc.RegisterServer and dials it, asserting task (list + timeline over Server.Handler()), summary, mappings and bindings serve over the wire. Log/health asserted as deliberate degradation (no State Store contract; nil LogFeed/health registry). The test surfaced that server-side Deps must wire Captures/Mappings/Bindings/BindingDispatcher or those list endpoints fail closed with err*Unavailable. Full task check green on the host. Interface relocation (webui dragging sqlite via package atomicity) deliberately deferred to 8cda.5.6, which audits the deletion gate.


Imported from beads archie-core-8cda.5.3 · GitHub #767 · type task · priority P3 · created 2026-09-06 · closed 2026-09-08

Replace webui task, capture, mapping, binding, log, and health data paths that still depend on concrete internal/store objects with the State Store read contracts. Preserve pagination, filtering, event joins, authorization, protocol status/headers, and combined dashboard views. Add local-adapter and remote/bufconn coverage for each endpoint family. ### Close reason Test-only, committed as 306886b. Added remote/bufconn coverage that stands up a real SQLite store behind staterpc.RegisterServer and dials it, asserting task (list + timeline over Server.Handler()), summary, mappings and bindings serve over the wire. Log/health asserted as deliberate degradation (no State Store contract; nil LogFeed/health registry). The test surfaced that server-side Deps must wire Captures/Mappings/Bindings/BindingDispatcher or those list endpoints fail closed with err*Unavailable. Full task check green on the host. Interface relocation (webui dragging sqlite via package atomicity) deliberately deferred to 8cda.5.6, which audits the deletion gate. --- _Imported from beads `archie-core-8cda.5.3` · GitHub #767 · type task · priority P3 · created 2026-09-06 · closed 2026-09-08_
sam added the lowtask labels 2026-10-27 13:39:14 +00:00
sam self-assigned this 2026-10-27 13:39:14 +00:00
sam closed this issue 2026-10-27 13:39:14 +00:00
sam added a new dependency 2026-10-27 13:42:17 +00:00
sam added a new dependency 2026-10-27 13:42:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1152