Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Missing environments should be highlighted on tenant pages

Open veochen-octopus opened this issue 3 years ago • 1 comments

Team

  • [X] I've assigned a team label to this issue

Severity

Non blocking. But misleading.

Version

any

Latest Version

I could reproduce the problem in the latest build

What happened?

A tenant can have environments that are no longer in the project lifecycles. When this happens, there's nothing on the tenant overview page and variables page (potentially other places) that communicates this disconnect. An improvement was made to the edit dialog to explain the mismatch. But it's not highlighted on the overview and variables pages. The screenshots show the environments that are no longer part of the lifecycles but the overview is unaware of it.

tenant-overview tenant-overview1 tenant-overview2

Reproduction

  • Make sure to have at least 3 environments (e.g. dev, test, staging).
  • Create a lifecycle with 2 phases, one for dev and one for test.
  • Create a project with the above lifecycle.
  • Create a tenant and connect it to the project on both environments dev and test.
  • Change the phase in the lifecycle from environment test to staging.
  • Go to the tenant overview page -> the tenant connection shows dev and test but test is no on the lifecycle anymore.
  • Go to the tenant variables page -> and see the same.

Error and Stacktrace

No response

More Information

The main reason this hasn't been done was due to having to make a lot of API calls to get progression data which are expensive.

Workaround

No response

veochen-octopus avatar Apr 27 '22 06:04 veochen-octopus

Would like to work on this if we can. @veochen-octopus - can we try the same tacky thing you did for this ticket: https://github.com/OctopusDeploy/Issues/issues/5831

octokhor avatar Aug 19 '22 06:08 octokhor