Repository navigation
Closed
Labels
Description
Problem
The sidebar search palette (⌘K) reports "no results" when its searches fail, so during an outage a chat or project that exists looks missing. In the "Everything" scope, a partly failed search also drops whole groups without a word. Paths at main c94f1fd84, under services/platform/app/.
components/layout/app-sidebar/platform-search-source.ts:137-147reports only'loading'or'ready', never'error', for the combined projects, tasks, chats, documents and contacts sources.- The chat source maps a failed backend to an empty result on purpose (
features/chat/data/chat-search-source.ts:55-60): "An unavailable backend reads as 'no results' rather than an error banner — the palette is a navigation aid, not a health surface." - The palette has an error state ready:
SearchStatusincludes'error', andSearchSourceStatecarrieserror(packages/ui/src/components/search/types.ts:5,:56-57). - The app's own rule for reads (
lib/backend/read-state.ts:1-4) is that "a failed read is the screen's to name and retry, never a silent empty list (bug(platform): a failed project folder read silently hides files that loaded successfully #3736, Bug: failed knowledge-entry reads look like an empty library or missing history #3777)".
Effect: someone searching for a chat during a backend blip is told it doesn't exist. They may start a new one, or conclude data was lost. Nothing suggests trying again.
Expected
- Report
status: 'error'when every queried source failed, and show the palette's error title and hint with a retry. - When only some groups failed, keep the results that loaded and add one line saying some results couldn't load.
- If the "navigation aid" exception is meant to stay, record it as an explicit product decision in the read-state rule.
Regression: a platform-search-source test where the chat source's read rejects. The state is 'error', not 'ready' with no results. On c94f1fd84 it's 'ready'.
Severity and owner
- Severity: low-medium. It misleads, but only during failures.
- Owner: platform (shell, search).
- Found by: Review A (TALE-358), 2026-10-12 20:15 Zurich occurrence, oldest-due
shell.search-paletteUX-CLARITY slice. This is static reading atc94f1fd84, verified at the cited lines. I didn't run it, because Review A's stack is BLOCKED.
Activity
fix(ui): show retry and partial failure in the search palette
fix(platform): stop reporting failed palette searches as no results
fix(platform): stop reporting failed palette searches as no results
fix(platform): stop reporting failed palette searches as no results