flyte
flyte copied to clipboard
[BUG] Flyteconsole not showing latest LaunchPlan details
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?
- [X] Yes
Have you read the Code of Conduct?
- [X] Yes
The issue you're experiencing with Flyteconsole not showing the latest LaunchPlan details is not explicitly covered in the provided data sources. However, your proposed solution to modify the API query to include sorting by created_at
in descending order seems reasonable based on general API behavior, though this specific API behavior is not detailed in the sources.
Would you like more detail on how Flyteconsole and FlyteAdmin handle data fetching and display, based on the available information?
Sources:
- We detected a performance regression that affects the latest
- FlyteCTL Feature: Schedule ergonomics
- After updating launchplan to a new workflow, breadcrumbs of execution console shows old workflow name
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @runllm to ask follow-up questions. See runllm.com for more!
Cc @ursucarina