You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id(find): local tag-list failures are silently reported as empty or partial search results #12080
The local-search branch of cmd_find_matches suppresses both failure modes while traversing local tags:
if let Ok(mut list) = store_handle.tags().list().await treats a failure to start listing as an empty tag set.
if let Ok(item) = item skips individual stream errors and continues with partial results.
The function returns Result<Vec<FindMatch>>, and the remote branch propagates connection, protocol, and response errors. A local database/list failure can therefore be reported to callers as a successful empty or incomplete search result.
Evidence: pkgs/id/crates/id-cli/src/commands/find.rs, local branch of cmd_find_matches (around lines 955–957 on current main).
Why it matters
A damaged, inaccessible, or otherwise failing local tag store looks indistinguishable from “no matches,” which can mislead users and downstream commands. Stream failures can also silently produce incomplete results.
Acceptance criteria
Propagate tag-list initialization and item-stream errors as errors (or provide an explicit partial-result contract; do not silently return empty/partial success).
Add tests for failure to initialize the tag listing and for an item-stream error, asserting the caller receives visible failure rather than an empty/partial successful result.
Activity
developing-today commentedon Nov 20, 2026
CODE-4392