project: Fix search filter patterns on remote projects (#34748)

we were join(",") and split(",") to serialize the patterns.

This doesn't work when pattern includes a ","
example: *.{ts,tsx} (very common pattern used by agent)


help needed:

how will this work on version mismatch?

Release Notes:

- Fixed search filter patterns on remote projects.
This commit is contained in:
maan2003 2025-07-23 11:48:45 +05:30 committed by GitHub
parent 500ceaabcd
commit 6122f46095
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 16 deletions

View file

@ -288,10 +288,12 @@ message SearchQuery {
bool regex = 3;
bool whole_word = 4;
bool case_sensitive = 5;
string files_to_include = 6;
string files_to_exclude = 7;
repeated string files_to_include = 10;
repeated string files_to_exclude = 11;
bool match_full_paths = 9;
bool include_ignored = 8;
string files_to_include_legacy = 6;
string files_to_exclude_legacy = 7;
}
message FindSearchCandidates {