Unclear behavior in UI when clicking "Retry" for pipelines containing archived jobs
Summary
Unclear behavior in UI when clicking "Retry" for pipelines containing archived jobs
Steps to reproduce
- Have a failed CI pipeline with several jobs
- Configure Archive Jobs on your self-managed instance
- Wait for the period specified in the
Archive jobs
section - Open the failed pipeline and click on the jobs to make sure it was archived. It will show the message
This job is archived. Only the complete pipeline can be retried.
above the job log - Go back to the pipeline and click Retry - nothing will happen, the UI will not tell you that the pipeline cannot be retried
What is the current bug behavior?
- The Retry button is available for pipelines with archived jobs, and nothing happens when clicking Retry
- It is not clear from the pipeline view that the jobs were archived
What is the expected correct behavior?
- Retry button should not be available if the jobs within the pipeline were archived: it may be greyed out, and they should be an explanation why it is greyed out
- In the pipeline view, there should be some indication that some of the jobs were archived
Relevant logs and/or screenshots
n/a
Proposal
This issue can be solved by Extend job archival mechanism to the whole pipe... (#271614) • Marius Bobin • 17.1
Edited by Fabio Pitino