fix(aws): replace an orphaned exec-off EC2 task instead of refusing for ever
A found task with ECS Exec off that still waits for an instance is another start's only while one could still be waiting for it (created within the EC2 placement wait plus 2 minutes); an older one is a crashed start's orphan and is replaced (stopped with its own reason, checked, waited for). INSTANCE_RACE now mentions Stop. The rerun's race records the winner's task, as the first launch's race does; a first task another start replaced says so. TaskInfo gains created_unix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
374fb5a35d
commit
6e24977cf0
5 files changed
+151
-13
No files matched your search
@@ -278,6 +278,7 @@ fn live(id: &str) -> TaskInfo {
|
||||
runtime_id: None,
|
||||
container_instance_arn: None,
|
||||
exec_enabled: true,
|
||||
created_unix: None,
|
||||
exec_agent_running: false,
|
||||
exit_code: None,
|
||||
owner: Some(USER.into()),
|
||||
|
||||
Reference in new issue
Block a user