Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Allow deletion of workflows referenced by data products#188

Merged
gpelouze merged 1 commit intomainfrom
187-error-500-integrityerror-at-vre-apiapiworkflows-workflow-linked-to-data-product-is-deleted-from-argo
Nov 17, 2023
Merged

Allow deletion of workflows referenced by data products#188
gpelouze merged 1 commit intomainfrom
187-error-500-integrityerror-at-vre-apiapiworkflows-workflow-linked-to-data-product-is-deleted-from-argo

Conversation

@gpelouze
Copy link
Copy Markdown
Member

Sets DataProduct.workflow to null when the workflow is deleted. This allows deleting workflows from argo that are still referenced by data products, without triggering a foreign key constraint.

Fixes #187

@gpelouze gpelouze merged commit 81a36d5 into main Nov 17, 2023
@gpelouze gpelouze deleted the 187-error-500-integrityerror-at-vre-apiapiworkflows-workflow-linked-to-data-product-is-deleted-from-argo branch November 17, 2023 15:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error 500 IntegrityError at /vre-api/api/workflows/ workflow linked to data product is deleted from argo

1 participant