-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(ui): Delete the pipeline along with its all versions. Fixes #11665 #11745
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
fix(ui): Delete the pipeline along with its all versions. Fixes #11665 #11745
Conversation
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
Hi @milinddethe15. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
/ok-to-test |
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
/retest |
/retest |
Signed-off-by: milinddethe15 <milinddethe15@gmail.com>
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@milinddethe15 The frontend is supposed to contain only UI logic.
Removing pipeline versions when a pipeline has versions is a business logic, which should be handled by the backend. Like:
Frontend: Sends deletePipeline
Backend: Checks if that pipeline has more than one pipeline version. If so, returns an error
Frontend: Handles the error by asking the user if the pipeline versions should also be deleted. If so, send to the backend a deletePipelineAndVersions
Backend: Iterates over all versions deleting them and then deletes the pipeline
/lgtm cancel |
Got it. pipelines/frontend/src/apisv2beta1/pipeline/api.ts Lines 436 to 441 in 11e84d0
PS: Here, I wanted to ultize the existing APIs to do the job without a new API. |
IMO we should create the new API or add a new parameter (default |
Hm.. Frontend is using v1beta1 |
Yes, right now v1 pipelines are still supported. Probably until end of 2026 and until we find a solution for ml-metadata we need v1. |
hey @milinddethe15 - just wondering where are with this, are you still able to continue work on this address the above changes? if so let us know and feel free to ping me on slack to help get this in! appreciate your effort here, thanks! |
I remember working on apiserver (grpc backend), which gave me server timeouts for |
/close |
@milinddethe15: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Description of your changes:
fixes #11665
It deletes all the versions of pipeline before deleting the pipeline and shows a warning message to user.
Checklist:
Demo:
2025-03-13.00-09-26.mp4