From 79be5aad96608e73886d84a4afadffa1239a1619 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 27 Nov 2026 18:25:20 +1100 Subject: [PATCH] fix(webui): hide the memory pages this process cannot serve (#2069) The dashboard is served by both binaries, and internal/webui serves no /api/memory route. Reporting the memory sections as unavailable drops both pages from the navigation there instead of offering pages whose every read and write answers not found. --- internal/webui/api_capabilities.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/webui/api_capabilities.go b/internal/webui/api_capabilities.go index f702a9ca8..ef7756581 100644 --- a/internal/webui/api_capabilities.go +++ b/internal/webui/api_capabilities.go @@ -22,6 +22,11 @@ func (s *Server) handleCapabilities(w http.ResponseWriter, r *http.Request) { // and its definition list from the local registry, so it is // worth showing with only the former. "workflows": true, + // The memory pages and their admin settings call /api/memory, which + // this process does not serve: offering them would answer every read + // and write with a not-found. + "memory": false, + "memory_admin": false, // Configuration renders from whichever source is wired, and only // the system org operates the instance: every other org's // settings pages would offer saves the control plane refuses.