Skip to content

Resolve "`ci_environment_status` return correct deployment"

What does this MR do and why?

Updates the ci_environment_status endpoint to always return newest deployments first

Screenshots or screen recordings

Display of latest deployment timestamp

image

How to set up and validate locally

  1. Find a merge request in a project with a deployed environment
  2. Hover your mouse over the "Deployed to .... (some time ago)" text to see the timestamp of the last deploy
  3. Create, run and deploy a new pipeline on the same branch
  4. Once the new pipeline is finished, hover over the text to see that it's been updated to the new timestamp

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #25153 (closed)

Edited by Allen Cook

Merge request reports

Loading