Forward deployment - warn users on "Retry"
Problem to solve
As of Gitlab 12.9, when a deployment job fails because a newer deployment was deployed first, the following error message shows up for the failed job. The user is not further warned when clicking the retry button.
| Screenshot |
|---|
![]() |
Intended users
Proposal
- Add an alert modal when the
Retrybutton is clicked - Modal contents:
### Are you sure you want to retry this job?
You're about to retry a job that failed because it attempted to deploy code that is older than the latest deployment. Retrying this job could result in overwriting the environment with the older source code. [More information](#)
Are you sure you want to proceed?
[Cancel](tertiary button) [Retry job](Primary button, danger)
- After completing the modal by using the
Retry jobbutton, the page will refresh, the modal will have disappeared, and the job's status will have changed torunning.
