Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate releases from database #14317

Open
mlqn opened this issue Dec 19, 2024 · 0 comments
Open

Remove duplicate releases from database #14317

mlqn opened this issue Dec 19, 2024 · 0 comments
Labels
area/app-deploy Area: Related to deploying apps from Altinn Studio to Altinn Apps. kind/chore status/triage team/studio-core team/studio-domain1

Comments

@mlqn
Copy link
Contributor

mlqn commented Dec 19, 2024

Description

There was previously a bug that allowed the creation of multiple releases with the same tag name (e.g., https://altinn.slack.com/archives/C02EJ9HKQA3/p1734509976676659). This issue has been resolved in the backend, but duplicate releases remain in the database.

I suggest :

  1. Creating a composite key based on tagName, org and app with a condition based on the buildStatus
  2. Cleaning up the database by removing duplicate tag names to prevent confusion and potential side effects, like this one:
duplicated-tag-names.mov
@mlqn mlqn added the kind/bug Used when there is a defect / something is not working as it should. label Dec 19, 2024
@mlqn mlqn added kind/chore team/studio-core team/studio-domain1 status/triage area/app-deploy Area: Related to deploying apps from Altinn Studio to Altinn Apps. and removed kind/bug Used when there is a defect / something is not working as it should. labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/app-deploy Area: Related to deploying apps from Altinn Studio to Altinn Apps. kind/chore status/triage team/studio-core team/studio-domain1
Projects
Status: No status
Development

No branches or pull requests

1 participant