When grouping similar environments, environments aren't shown if they share the name of the "root" environment. I'm unable to determine whether this is a gitlab-ce~3630472.
Steps to reproduce
Create an environment foo
Create another environment foo/bar
The environment foo is inaccessible through the UI
Display a "block" for the root environment in the Environments page. This block should be displayed on top of the the child, scoped environments, inside the accordion view.
Example:
review v
review environment data
review/123 environment data
review/456 environment data
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Workaround
Environments remain accessible from https://gitlab.com/<namespace>/<project>/environments/:environment_id. Get environment_id from the API: GET /projects/:id/environments
@ogolowinski Thanks, I am adding to %12.4 for customer impact and we can prioritize it with the gitlab-ce3857523 gitlab-ce2278648 list and adjust based on capacity, severity as that point.
@darbyfrey let me know your thoughts on the best milestone to place this for now based on capacity. I placed %12.4 but let me know if it should move out.
Each of their projects have multiple environments:
Review
Dev
Staging
Production
BCP
Each of these environments have multiple deployments (usually the application aswell as a sidekiq deployment).
When i navigate to Operations > Environments in the Gitlab UI and expand these environments, I can only ever see n-1 deployments. Example, if i have 3 deployments in the environment the UI will let me see 2 only. If i have 2 deployments in the environment the UI will let me see 1 only. (See screenshot).
This is impacting our ability to easily see all of our environments
@cbalane@rayana I looked into this a bit today, and it looks like it can primarily be fixed via the backend.
Here, we can see in the response the size for review is 2, but we have no way of knowing that there should be a review and review/foo environment, only that this is likely a folder. Later, when we fetch the folder, we don't get the review environment, only the review/foo one.
I'm assuming that in the UI, we would be able to display an item for the review environment, that shows the latest deployment. And below that, a folder for review/, with all other scoped environments?
Andrew and I reviewed it some weeks ago. There are a couple of ways the root environment can be surfaced in the UI -- I added a boring solution to the proposal.
Depending on how we decide to proceed with the UI changes, the way environments are displayed on this page might change in the near future and this UI will require refactoring -- so it's good to keep that in mind.