Skip to content

feat(search)!: Report coverage and return empty search results - #30

Merged
philprime merged 1 commit into
mainfrom
philprime/fix/search-result-coverage
Sep 24, 2026
Merged

philprime merged 1 commit into
mainfrom
philprime/fix/search-result-coverage

Conversation

@philprime

Copy link
Copy Markdown
Member

Extract the search improvements from feature/tui without adding browser or terminal dependencies. Cancellation now propagates, successful matches survive unavailable collections, and incomplete coverage is reported on stderr.

Compatibility
Searches with no matches now succeed with an empty JSON array or an explicit human-readable message instead of exiting with an error. Result arrays keep their existing fields.

Verification
Focused regression tests, make test, make analyze, and make build passed. The release CLI returned a successful empty array for a live no-match search in Swift.

Propagate cancellation instead of swallowing it as an unavailable collection. Preserve successful matches and report incomplete coverage on stderr.

BREAKING CHANGE: Searches with no matches now succeed with an empty result instead of exiting with an error.
@philprime
philprime marked this pull request as ready for review September 24, 2026 18:08
@philprime
philprime enabled auto-merge (squash) September 24, 2026 18:09
@philprime
philprime merged commit cab8dfa into main Sep 24, 2026
15 checks passed
@philprime
philprime deleted the philprime/fix/search-result-coverage branch September 24, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant