Open debajyoti-truefoundry opened 6 months ago
🤖
Hey @debajyoti-truefoundry! Great to see you back. 😊 How's everything going on your end?
Based on the information available in the Flyte repository, it seems that the status of a launch plan is represented by the State
field in the LaunchPlan
model. This field is a pointer to an integer that represents the state of the launch plan. The state of a launch plan is updated using the UpdateLaunchPlan
method and the state is set to admin.LaunchPlanState_ACTIVE
. However, this information is related to the backend and the API, not the UI.
Unfortunately, I couldn't find specific information on how the status of a launch plan is displayed in the Flyte UI. The UI should ideally reflect the status of the launch plan as represented in the backend, but the exact UI elements or sections where this information is displayed are not clear from the repository.
The Flyte UI retrieves and displays the status of a launch plan from the backend by making a call to the Flyte Admin Service using gRPC. The specific method used to retrieve the status of a launch plan is GetActiveLaunchPlan
. The response from this method will contain the status of the launch plan, which can then be displayed on the Flyte UI.
As for filtering or searching for active launch plans in the Flyte UI, you can use the filters
query parameter in the HTTP GET request to the Flyte Admin API. The filter string should be URL-encoded. For example, to filter for active launch plans, you can set the filter string to "eq(state,ACTIVE)"
.
Please note that the actual implementation of filtering and searching for active launch plans in the Flyte UI would depend on how the UI is designed to interact with the Flyte Admin API.
I hope this information helps. If you need further clarification or if you have additional questions, please let me know.
Motivation: Why do you think this is important?
As you can see, there is no way I can identify whether a launch plan is active or not.
Goal: What should the final outcome look like, ideally?
The UI should let me know if the launch plan is active.
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?