Skip to content

fix(roadmap): reap the orphans that fill the pod process limit - #8059

Merged
dan-petty merged 1 commit into
mainfrom
fix/8054-reap-orphans-in-the-runner
Dec 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/8054-reap-orphans-in-the-runner

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The agent container of an implement Job filled the process limit of its pod (4096) with zombies: #5217 and #7986 reached 4095 tasks, and the Job of #5217 stopped after 46 million input tokens (Cannot fork). On the node, zombies rose from 16 to 4078 during the Job and fell to 3 when the pod ended. devops was PID 1 and reaped no orphan.

The runner image now starts devops under tini (MIT, the init of docker run --init). The smoke check runs the first program of the entrypoint with a command that leaves an orphan and fails if a zombie stays. In a test container it fails under a Python PID 1 and passes under tini. A SIGTERM now reaches devops as a child, so a command with no handler ends at once.

Closes #8054

Change: openspec/changes/archive/2026-12-01-8054-reap-orphans-in-the-runner/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Dec 1, 2026
@dan-petty
dan-petty force-pushed the fix/8054-reap-orphans-in-the-runner branch from f5c4fd3 to bec5134 Compare December 1, 2026 20:38
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: bec5134905ba026cf15d84f53bf02f60a0aa6b87

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
gitleaks success run
Trivy neutral run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 6 of 6) success run
Service Image Tests (shard 5 of 6) success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 3 of 6) success run
Changed-Test Independence success run
CodeQL success run
Plan Check skipped run
Test Job Duration skipped run
Tests on Main skipped run
Tests & Coverage (shard 6 of 6) success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 3 of 6) success run
Tests & Coverage (shard 2 of 6) success run
Changed-Test Independence (run 2 of 3) success run
Static Analysis success run
Tests & Coverage (shard 4 of 6) success run
Service Image success run
Changed-Test Independence (run 1 of 3) success run
Tests & Coverage (shard 5 of 6) success run
Runner Image success run
Tests & Coverage (shard 1 of 6) success run
Design Tokens success run
PR title / Semantic PR title success run
Docs Site Build success run
Service Image Build success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Tests on Main

@dan-petty
dan-petty marked this pull request as ready for review December 1, 2026 20:51
@dan-petty
dan-petty merged commit dda7c5d into main Dec 1, 2026
36 checks passed
@dan-petty
dan-petty deleted the fix/8054-reap-orphans-in-the-runner branch December 1, 2026 22:14
dan-petty-release Bot added a commit that referenced this pull request Dec 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.270.4](v0.270.3...v0.270.4)
(2026-12-01)


### Bug Fixes

* **ci:** stop checking skills against the OpenSpec version
([#8069](#8069))
([5b4ac50](5b4ac50))
* **roadmap:** reap the orphans that fill the pod process limit
([#8059](#8059))
([dda7c5d](dda7c5d))


### Code Refactoring

* **pr:** check titles and commits with commitizen
([#8066](#8066))
([4a5a964](4a5a964)),
closes [#8045](#8045)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(runner): find the thread limit that stops git add -A in the runner

1 participant