Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci(lanes): run the hosted lane container with --init

knowhycodata091509d98cfe
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index e0fe1af9d7..6f10fb1930 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -214,6 +214,10 @@ jobs:
container:
# Empty for the pester group: pwsh ships on the bare runner image.
image: ${{ matrix.container }}
+ # The runner's PID 1 (`tail -f /dev/null`) never reaps orphans, so a
+ # killed grandchild stays a zombie that `kill(pid, 0)` still finds and the
+ # process-group timeout tests fail. `--init` puts a reaping init at PID 1.
+ options: --init
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.plan.outputs.matrix) }}