Dashboard shows incorrect versions after release deletion

  1. Create release ‘1.0.0’. Deploy it to Environment ‘Development’.
  2. Now create release ‘1.1.0’. Deploy it to Environment ‘Development’ too.
  3. Now you delete latest release ‘1.1.0’. But deletion makes nothing with deployment targets, it only removes version’s record from db.
  4. The release ‘1.1.0’ disappears from dashboard. From now dashboard shows ‘1.0.0’ as deployed on environment ‘Development’, which is not true.

Release ‘1.1.0’ did not disappeared from ‘Development’, it wasn’t re-deployed.
So dashboard lies to you :slight_smile:

I think there can be two solutions:

  1. Does not allow deletion of currently deployed releases
  2. Simply mark release as ‘Deleted’, making it impossible to deploy/promote etc, but delete only it after it was overridden on all deployment targets.

Hi Sergey,

Thanks for getting in touch! I’m sorry you’re hitting this unexpected behavior. I’ve been able to reproduce it as you’ve described, and we’ve determined it’s a bug. Since deleting releases doesn’t delete what was deployed, it should still display that release as deployed in that environment.

I’ve raised the following GitHub issue to look into it. You can track that here: https://github.com/OctopusDeploy/Issues/issues/3510

Thanks for reporting this. Let me know if you have any further questions!

Best regards,

Kenny