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

feat(backend): Forbid unarchive runs that belog to archived experiment #7147

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

difince
Copy link
Member

@difince difince commented Jan 7, 2022

Adds validation so that the user cannot activate a Run that belongs to Archived Experiment.

Fixes: #7014

Signed-off-by: Diana Atanasova [email protected]

Description of your changes:

Checklist:

@google-oss-prow google-oss-prow bot requested review from Bobgy and zijianjoy January 7, 2022 09:31
Adds validation so that the user cannot activate a Run that belongs to Archived Experiment.

Issue: kubeflow#7014

Signed-off-by: Diana Atanasova <[email protected]>
@difince difince force-pushed the run_unarchived_validation branch from 23f21b9 to 8a02968 Compare January 7, 2022 10:03
@difince
Copy link
Member Author

difince commented Jan 10, 2022

/retest

@zijianjoy
Copy link
Collaborator

/lgtm

Thank you Diana!

@difince
Copy link
Member Author

difince commented Feb 7, 2022

@zijianjoy May I ask if there is some problem? I haven't got any comments for a while but the PR still stays open ...

@zijianjoy
Copy link
Collaborator

/approve

Hello Diana, approving this PR as it looks good to me.
cc @chensun

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zijianjoy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 96a6a3b into kubeflow:master Feb 9, 2022
abaland pushed a commit to abaland/pipelines that referenced this pull request May 29, 2022
kubeflow#7147)

* [backend] Forbid unarchive runs that belog to archived experiment

Adds validation so that the user cannot activate a Run that belongs to Archived Experiment.

Issue: kubeflow#7014

Signed-off-by: Diana Atanasova <[email protected]>

* Change the err message to be more action-driven

Signed-off-by: Diana Atanasova <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[backend] Forbid unarchive runs action if the run belongs to archived experiment
2 participants