server icon indicating copy to clipboard operation
server copied to clipboard

Flow Run Page -> Task Run Name Search Fails with `task_run_name` argument

Open dylanbhughes opened this issue 4 years ago • 1 comments

Description

From the Task Run table on the Flow Run page, it's possible to search for the name of a particular task run and get a list. However, the search fails to return results. The significant difference that I can see between this Flow Run and other Flow Runs is that I use the task_run_name feature to define my Task Run names using input arguments. No searches work for the Flow Runs in question on this page.

There's no error in chrome devtools that I can see.

I didn't open this ticket on the UI because I looked at the UI code and it seems to be doing everything correctly. Searching for dynamically generated names works at the flow level and I wonder if it's something about the nature of this query specifically.

Expected Behavior

Return a subset of the Task Runs with the search results.

Reproduction

https://cloud.prefect.io/prefect/flow-run/7fd9ed02-f19a-4aeb-a32a-ed7fa4b99908 Screen Shot 2021-02-24 at 12 09 35 PM Screen Shot 2021-02-24 at 12 09 18 PM

Environment

dylanbhughes avatar Feb 25 '21 05:02 dylanbhughes

@jlowin is it possible our index doesn't update when the name is changed? Could we pair on running an explain on this query?

zanieb avatar Feb 25 '21 22:02 zanieb