-
Notifications
You must be signed in to change notification settings - Fork 757
Description
Describe the bug
When checking the LaunchPlan view:
https://<flyteconsole_url>/console/projects/<project_name>/domains/production/launchPlans/<lp_name>?duration=all
The details list shown doesn't correspond to the latest LaunchPlan registered. In our case it is showing the details from a previous version.
This might be caused because the query to fetch the data seems to be
https://<flyteadmin_url>/api/v1/launch_plans/<project_name>/production?filters=eq(launch_plan.name,<project_name>)&token=&limit=1
and it might need to be changed to
https://<flyteadmin_url>/api/v1/launch_plans/<project_name>/production?filters=eq(launch_plan.name,<project_name>)&token=&limit=1\&sort_by.direction\=DESCENDING\&sort_by.key\=created_at
Expected behavior
Flyteconsole UI should show the details for the latest LaunchPlan.
Additional context to reproduce
No response
Screenshots
Are you sure this issue hasn't been raised already?
- Yes
Have you read the Code of Conduct?
- Yes