Skip to content

ci: give the container an init that reaps orphans - #4

Merged
siracozmen01 merged 2 commits into
mainfrom
ci-container-init
Oct 24, 2026
Merged

siracozmen01 merged 2 commits into
mainfrom
ci-container-init

Conversation

@siracozmen01

@siracozmen01 siracozmen01 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Problem

In a job container PID 1 never reaps orphans, so a daemon a test stops stays a zombie whose PID and start time still look alive. maul-window and maul-audio each worked around it in their fixtures.

Change

cpp.yml runs its container with --init, so docker's init is PID 1 and reaps orphans.

Verification

A temporary probe job in the image (run 40045231167) printed docker-init for /proc/1/comm, started an orphan, killed it, and found it gone. The probe was removed before merge.

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