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

Fix deployment rollbacking with more than 100 tasks #176

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

adrien-f
Copy link

@adrien-f adrien-f commented Jul 19, 2021

The list_tasks call was capped at 100 tasks, if the service had a desired
superior of 100 the deployment would fail.

Fix #174

Signed-off-by: Adrien Fillon [email protected]

@adrien-f
Copy link
Author

adrien-f commented Jul 19, 2021

I'm still doing more tests so do not merge 🙏 I forgot to open it as draft, my bad

We've tested a deployment with more than 100 tasks and it went through this time!

The `list_tasks` call was capped at 100 tasks, if your service had a desired
superior of 100 the deployment would fail.

Fix fabfuel#174

Signed-off-by: Adrien Fillon <[email protected]>
@joshmyers
Copy link

Yeah, this doesn't work if >100 tasks. Deployment times out despite having completed on the ECS side. Any chance of this getting merged?

@zgilkerson
Copy link

We ran into a similar issue this past week regarding timeouts when more than 100 tasks were running. This PR looks like it solves the issue in a way more inline with the existing code base while the strategy that my team took was to ignore counting tasks altogether by checking has_completed on the primary deployment
Screenshot 2023-03-10 at 10 45 28

0001-utilize-has_completed-for-is_deployed-check.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can the desired target change during deployments?
4 participants