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
feat(runs): accept a "search" ListRuns filter matching run name or task name (#8035)
* runs: accept a "search" ListRuns filter matching run name or task name
The console's Runs page search box sends a single `task_name CONTAINS`
filter, so searching by run ID never worked. The Filter proto has no OR and
ListRuns ANDs every filter, so the console cannot express "run name OR task
name" on its own.
Add a synthetic "search" filter field, resolved by the run service before
the generic column allow-list conversion sees the request:
search CONTAINS_CASE_INSENSITIVE x -> (LOWER(run_name) LIKE LOWER('%x%')) OR (LOWER(task_name) LIKE LOWER('%x%'))
search CONTAINS x -> (run_name LIKE '%x%') OR (task_name LIKE '%x%')
search EQUAL x -> (run_name = x) OR (task_name = x)
Any other function, or a missing, empty or multi-value term, is an
InvalidArgument. No IDL change: Filter.field is a free-form string validated
server-side. The Union cloud run service accepts the same field, so one
console request works against both backends; the console change follows
separately and must ship after this.
WatchGroups is left alone: the OSS grouped view does not consume request
filters at all.
* make devbox-build
Signed-off-by: M. Adil Fayyaz <62440954+AdilFayyaz@users.noreply.github.com>
---------
Signed-off-by: M. Adil Fayyaz <62440954+AdilFayyaz@users.noreply.github.com>
0 commit comments