-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Labels
Description
📜 Description
When we do deployment for multiple envs via SDH then template/list api gives inaccurate data, for eg. if last deployment done in a n env is.3 but somehow it shows more than 3 deployments

👟 Reproduction steps
- make a devtron app with a workflow consisting of more than 1 env.
- now make a release track and add that app in that release track, select any commit to deploy in that env, now trigger depl simoultaneously in those env, now wherever template/list api is being used it shows inconsistent data.
👍 Expected behavior
if for an env I've 1 deployment then it should only show 1 last previous deployment in Previous deployment section no more than 1 , or in template/list api also for type 3 , last deplpyment should be only 1 not mote than 1
👎 Actual Behavior
let's say for 2 deployment the deployment history shows 2 deployment but in template list data it shows more than 1 deployment
☸ Kubernetes version
1.30
Cloud provider
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find any similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct