Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] Flyteconsole not showing latest LaunchPlan details #5271

@pablocasares

Description

@pablocasares

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

image

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstaleuiAdmin console user interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions