Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Flyteconsole not showing latest LaunchPlan details #5271

Open
2 tasks done
pablocasares opened this issue Apr 23, 2024 · 2 comments
Open
2 tasks done

[BUG] Flyteconsole not showing latest LaunchPlan details #5271

pablocasares opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working ui Admin console user interface

Comments

@pablocasares
Copy link

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
@pablocasares pablocasares added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers labels Apr 23, 2024
Copy link

runllm bot commented Apr 23, 2024

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:


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!

@kumare3
Copy link
Contributor

kumare3 commented Apr 24, 2024

Cc @ursucarina

@ursucarina ursucarina self-assigned this Apr 24, 2024
@eapolinario eapolinario added ui Admin console user interface and removed untriaged This issues has not yet been looked at by the Maintainers labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui Admin console user interface
Projects
None yet
Development

No branches or pull requests

4 participants