Hi people! I got into a sticky situation, please help! Due to cost reasons (we are running expensive LLMs and costs are real) we have to drive staging and prod with the same pipelines on a single db. To ensure both staging and prod have their own pipeline, we created 2 deployments per flow: staging and prod. But now, we still need to ensure we dont (!) deploy twice with the same version! Are there any uniqueness constraints i can set up or something similar? Maybe use tags?
The expected behavior is that when deploying to prod, staging deployment with the same version must be removed (better yet, paused), if exists