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

UI: Resubmit an archived workflow does not keep labels #6129

Closed
christopheblin opened this issue Jun 11, 2021 · 5 comments
Closed

UI: Resubmit an archived workflow does not keep labels #6129

christopheblin opened this issue Jun 11, 2021 · 5 comments
Labels
area/ui area/workflow-archive good first issue Good for newcomers solution/suggested A solution to the bug has been suggested. Someone needs to implement it. type/bug

Comments

@christopheblin
Copy link
Contributor

Summary

From an archived workflow, click on "Resubmit" in the UI

The created workflow do not have the appropriate labels

/!\ the bug happens only for archived workflows (when you resubmit a "normal" workflow, the labels are kept)

Be cautious, some labels should not be copied (like workflows.argoproj.io or workflows.argoproj.io/phase)

however, the labels placed manually by the user should be duplicated

rational : labels are used to search workflows, so if they do not have labels they do not appear in search results anymore ...

I am not sure to consider bug or enhancement ...

root cause : when you resubmit an archived workflow, the UI is different from a normal workflow (in archive, you use a YAML where the labels are not preloaded whereas in normal it is just asking a confirmation)


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@alexec alexec added this to the v3.0 milestone Jun 11, 2021
@alexec
Copy link
Contributor

alexec commented Jun 11, 2021

It’s pretty clear there’s a bug on this line:

You can see that neither labels or annotations are copied.

Would you like to submit a PR to fix?

@christopheblin
Copy link
Contributor Author

@alexec I did my best to provide the PR, I hope it will be enough :)

@stale

This comment was marked as resolved.

@stale stale bot added the wontfix label Aug 21, 2021
@stale stale bot closed this as completed Aug 28, 2021
@tooptoop4
Copy link
Contributor

/reopen

@agilgur5 agilgur5 changed the title Resubmit an archived workflow from UI does not keep labels UI: Resubmit an archived workflow does not keep labels Oct 22, 2024
@agilgur5 agilgur5 added area/ui solution/suggested A solution to the bug has been suggested. Someone needs to implement it. problem/stale This has not had a response in some time area/workflow-archive and removed problem/stale This has not had a response in some time labels Oct 22, 2024
@agilgur5
Copy link
Member

/reopen

This is no longer needed per #6184 (comment)

@argoproj argoproj locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ui area/workflow-archive good first issue Good for newcomers solution/suggested A solution to the bug has been suggested. Someone needs to implement it. type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants