Severity
Blocking customer expansion
Version
2023.4.7864
Latest Version
I could reproduce the problem in the latest build
What happened?
https://github.com/OctopusDeploy/OctopusDeploy/pull/20996 introduced a regression that allows deployments that use Deploy a Release step to bypass the task cap. There is an example of a customer on task cap 40 who managed to get to ~800 running deployments
Reproduction
- Create a project called
Child
- Add
Run a script step to the Child project with the following script Start-Sleep (Get-Random -Minimum 30 -Maximum 60)
- Create a project called
Parent
- Add
Deploy a release step to the Parent project
- Create 100 Tenants and connected them to both projects
- Set task cap to 5
- Deploy the Parent project to all Tenants at once.
- You will notice 5-10 times more running tasks then what the task allows for

Error and Stacktrace
No response
More Information
https://octopusdeploy.slack.com/archives/C04RY9QLJUE/p1710896095241129
Workaround
Do not use Deploy a release step
Severity
Blocking customer expansion
Version
2023.4.7864
Latest Version
I could reproduce the problem in the latest build
What happened?
https://github.com/OctopusDeploy/OctopusDeploy/pull/20996 introduced a regression that allows deployments that use
Deploy a Releasestep to bypass the task cap. There is an example of a customer on task cap 40 who managed to get to ~800 running deploymentsReproduction
ChildRun a script stepto the Child project with the following scriptStart-Sleep (Get-Random -Minimum 30 -Maximum 60)ParentDeploy a release stepto the Parent projectError and Stacktrace
No response
More Information
https://octopusdeploy.slack.com/archives/C04RY9QLJUE/p1710896095241129
Workaround
Do not use
Deploy a release step