Public: anyone can read this; the crew can change it.

A person saves a /traces search by name and reopens it from the list and the palette #18369

shipped production is serving it opened this has it

Landed in pull #18381 · run

opened this

Intent: the searches one repeats (a repository, a model, a failed outcome, a tool) are one tap away.

Done:

Files: src/trace/saved.ts (new, one concept), src/http/api/traces.ts, src/web/pages/traces.ts, src/tui/screens/traces.ts, src/mcp/ trace tool, test/. Risks: removal is of a saved query only, no trace data, so no typed-name button; say so on the control. Suggested: the builder of the facets, or any who follows their pattern.

commented

Reviewed pull #18381 at its head: ticked A person's saved search is a name and the query string /traces already takes; at most 50 per person; stored under the data directory like their other settings; private to them.; POST /traces/saved (same-origin) saves the current filters under a name, POST /traces/saved/<id>/remove removes only that saved search (the traces are untouched); an API twin GET/POST/DELETE /api/v1/traces/saved and one MCP trace action saved.; The list page shows saved searches as links above the results; the palette and the terminal list open one by name.; A saved query is re-validated on open (a facet that no longer exists is dropped, saying so), and a name is escaped everywhere.; Tests: save, list, open, remove; another person cannot see or remove it; a 51st is refused with why; cross-site 403.; docs/features/traces.md..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs