Skip to content

fix(proto): carry project match in remote search#311

Merged
upsetbit merged 1 commit into
masterfrom
codex/fix-remote-search-project-match
Jun 27, 2026
Merged

fix(proto): carry project match in remote search#311
upsetbit merged 1 commit into
masterfrom
codex/fix-remote-search-project-match

Conversation

@upsetbit

Copy link
Copy Markdown
Contributor

Summary

Fixes #300.

  • adds project_match to SearchRequest so remote search can carry explicit --project
  • maps CLI explicit project scope into the remote search request
  • applies the server-side substring filter across project path, remote, and marker
  • covers request construction and server search filtering with tests

Validation

  • go test ./internal/cli -run 'TestResolveProjectScopeExplicitProject|TestRunSearchRemoteAppliesExplicitProject|TestSearchLimit' -count=1\n- go test ./internal/server/handlers -run TestSessionsSearchProjectMatchFiltersPathRemoteOrMarker -count=1\n- go test ./...\n- just gen-check\n- go build -o ./bin/prosa ./cmd/prosa

@upsetbit upsetbit added bug Something isn't working area:cli prosa CLI area:panel-server prosa-server (Connect API) and prosa-panel (HTML + HTMX) scope:cli prosa CLI commands, flags, rendering, setup, and scheduled sync scope:server prosa-server Connect API, sync endpoints, auth, and object storage integration severity:high Real bug under realistic conditions; significant weakness priority:P1 Important reliability, usability, workflow, or audit follow-up source:audit Created from an audit report or validation pass labels Jun 27, 2026
@upsetbit upsetbit merged commit 0109c1d into master Jun 27, 2026
4 checks passed
@upsetbit upsetbit deleted the codex/fix-remote-search-project-match branch June 27, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli prosa CLI area:panel-server prosa-server (Connect API) and prosa-panel (HTML + HTMX) bug Something isn't working priority:P1 Important reliability, usability, workflow, or audit follow-up scope:cli prosa CLI commands, flags, rendering, setup, and scheduled sync scope:server prosa-server Connect API, sync endpoints, auth, and object storage integration severity:high Real bug under realistic conditions; significant weakness source:audit Created from an audit report or validation pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote search drops explicit --project filter

1 participant