You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
task run: a container task at default sizing fails, because Docker's install is OOM-killed on t4g.nano (and is classified app_error) #1180
Measured in experiment E1 (#1171) on spawn v0.135.1, us-east-1, 2026-10-19. The run failed 3 of 3 times.
What happened:
A container TaskSpec with resources: {cpu: 2} sizes to t4g.nano (0.5 GiB). The dry run prints 0 GiB.
On that instance the wrapper's sudo dnf install -y docker is OOM-killed (Killed in command.log) after 92–480 s.
The task then fails with sudo: docker: command not found.
The completion record says state: failed, retry_class: app_error, retryable=false. That's an infrastructure failure, not the application's.
With memory_gib: 4 (sizing picks t4g.medium) all 3 succeeded. Docker install took ~66 s and the image pull ~1 s.
Fix:
Size with a memory floor. When container is set, sizing should require enough memory for Docker plus the image. Measure the floor; 1–2 GiB is likely.
Classify the failure correctly. A Docker install or daemon-start failure should be staging_error (or a new infrastructure class) and retryable, not app_error.
Gates:
A container spec with only cpu must never size below the floor.
A wrapper whose Docker install fails must not report app_error.
Activity
fix(task): container memory floor + instance_health for Docker failur…