Implementation issue (Backend) - Create bridge/trigger job show page
The following page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
Problem
Today it's possible to retry the failed jobs in a downstream pipeline by going into the downstream pipeline and hitting the "Retry" button from there. However this user experience does NOT provide a solution in case users would like downstream pipelines to pick up a new pipeline code. Resubmitting the whole parent pipeline from the MR is possible, but it also reruns all the other pipelines, not only the one affected one.
Goal
The goal here is to show the trigger job page without the logs. This behavior would resemble how we currently show the manual jobs before they are executed.
Outcome
- A trigger job page with an empty state instead of the logs and a link to the downstream pipeline that the job triggered. The downstream pipeline should open in the same tab, but user should be able to right-click on the button and open the downstream pipeline page in a new tab if they wish.
- The "Retry" button should retry the trigger job and update the job status to running.
Related to #345046.
Implementation plan
Iteration | Description | Link |
---|---|---|
- | DESIGN/DISCUSSION | #343256 (closed), #352000 (closed), #353049 (closed), #340194 (closed) |
1 | BACKEND: Add route for show page |
|
1 | FRONTEND: Create show page |
|
1 | BACKEND: Add functionality for retry button no 1 (retry bridge job; re-create new downstream pipeline) |
#345050 (closed) |
1 | FRONTEND: Add button no 1 and tie it to the functionality (retry bridge job; re-create new downstream pipeline) |
#350243 (closed) |
1 | FRONTEND: Redirect old trigger jobs to the latest trigger job | #352472 (closed) workflowblocked |
1 | FRONTEND: Only show latest downstream pipeline and trigger job in the pipeline graphs | #352124 (closed) workflowblocked |
2 | BACKEND: Add functionality for retry button no 2 (retry failed/canceled jobs) |
|
2 | FRONTEND: Add split button and tie it to the functionality (retry failed/canceled jobs) | #32559 (closed) workflowin dev |
3 | BACKEND: Add functionality for retrying from the graph (or what we say is iteration 3) | #323470 (closed) workflowblocked |
3 | FRONTEND: Add button/icon for retrying from graph | ? |