Skip to content

clean service counters and env counters when deleting project#4743

Open
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/cleanup-version-seq-on-project-delete
Open

clean service counters and env counters when deleting project#4743
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/cleanup-version-seq-on-project-delete

Conversation

@Cynthia-0203

@Cynthia-0203 Cynthia-0203 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

What this PR does / Why we need it:

Previously, env service version counters and service template revision counters could remain in the counter collection after project deletion. If a project with the same name was recreated later, these stale counters could affect newly created resources by continuing revisions from deleted project data.

What is changed and how it works?

Delete env service version counters after env service versions are removed for the project.
Delete normal and production service template revision counters during async project resource cleanup.

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

This change is Reviewable

Signed-off-by: Cynthia <chenchen@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant