fix(infra): docker:24-dind + capacity 2 (fix moby cgroup-v2 teardown deadlock that hung 'Complete job')

This commit is contained in:
Ronni Baslund
2026-06-08 22:56:21 +02:00
parent aef0f44915
commit 4c5fdde787
@@ -37,9 +37,10 @@ data:
log:
level: info
runner:
# Run several jobs at once (the 4-app typecheck matrix + image builds)
# instead of one-at-a-time. The AX41 has headroom.
capacity: 4
# Some parallelism without overloading the single shared dind daemon
# (concurrent container teardowns trigger moby's cgroup-v2 removal
# deadlock). 2 is a safe balance on this node.
capacity: 2
timeout: 3h
labels:
- "ubuntu-latest:docker://catthehacker/ubuntu:act-22.04"
@@ -101,7 +102,10 @@ spec:
- name: runner-config
mountPath: /config
- name: dind
image: docker:27-dind
# docker:24-dind — moby 24 avoids the cgroup-v2 container-removal
# deadlock seen on 27 ("removal of container … is already in
# progress" looping → "Complete job" hangs).
image: docker:24-dind
securityContext:
privileged: true
env: