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

Retry ECS START_TIMEOUT from run monitoring #26183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zan-L
Copy link

@Zan-L Zan-L commented Nov 27, 2024

Summary & Motivation

About 1% of ECS tasks fail to start. This change allows those unresponsive tasks to be retried from the run monitoring.

How I Tested These Changes

N/A

Changelog

  • Implement resume_run() for ECS Run Launcher (by simply copying the launch_run() logic)
  • Modify monitor_starting_run() to consider retries
  • Pass BaseWorkspaceRequestContext from execute_run_monitoring_iteration() to monitor_starting_run()

Motivation: About 1% of ECS tasks fail to start. This change allows those unresponsive tasks to be retried from the run monitoring.

What changed:
- Implement resume_run() for ECS Run Launcher (by simply copying the launch_run() logic)
- Modify monitor_starting_run() to consider retries
- Pass BaseWorkspaceRequestContext from execute_run_monitoring_iteration() to monitor_starting_run()
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.

1 participant