ci: give the jobs that run the unit suite a reaping PID 1 #91
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/claude-code-query!91
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/reaping-init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SessionCloseTesttimes out on main and on every PR since #86. The job container's PID 1 istail -f /dev/null, which never reaps. A killed grandchild of the CLI stays a zombie, the JDK reports it as alive (JDK-8284282), and zio-processkillTreeForciblywaits on itsonExit()for ever.container: init: trueonci.yml›testandpublish.yml›publish. Docker then runsdocker-initas PID 1.initbefore it evaluates expressions, and drops${{ }}silently.This fixes CI only, to unblock 0.7.0. The SDK still hangs a close in a container without an init; that fix is filed as its own issue.
Stacked on #89 (its commit is the first one here). Merge #89 first.
Verification
Probe on this runner (v13.1.0, branch
ci/init-probe, runs 1417 and the literal re-run):container:tail -f /dev/nullinit: ${{ matrix.init }}tail -f /dev/nullinit: true/sbin/docker-init -- tail -f /dev/null🤖 Generated with Claude Code
https://claude.ai/code/session_01XE9uNVmKpVQiZvc3kLY2zh