Skip to content

protected app deployment retiring #7232

@n1ru4l

Description

@n1ru4l

It should be possible to have the hive app:retire fail in case the app deployment is still in use.

We can achieve this by introducing settings for app deployments similar to how conditional breaking changes work.

Through our usage reporting, we have data on the following:

  • when was app deployment was last used
  • what percentage of the traffic uses the app deployment (via app/client name)

We can probably repurpose a UI similar to the breaking change UI:

Image

To something like

App Deployment Protection

- not been used for [select time range] 
- [number] percentage/amount of traffic is below threshold

Different app deployments could have different configurations, we need to verify there is need for it or a one fits all is good enough..

It should still be possible to "force" a retire even with the protection with a hive app:retire --force flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apidashboardenhancementNew feature or request that adds new things or value to Hive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions