Repository navigation
fix(environments): reap Docker and Podman rootless probes - #3965
yuchenwang3 wants to merge 2 commits into
Conversation
|
@yuchenwang3 is attempting to deploy a commit to the Harbor Framework Team on Vercel. A member of the Team first needs to authorize it. |
|
Enjoy a better diff viewing experience by clicking one of these URLs: |
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
|
Finished the pending local checks on unchanged head |
|
Could a maintainer review this? It reaps the rootless Docker probe after cancellation or timeout, so the probe no longer outlives its task. |
Assisted-by: OpenAI Codex Signed-off-by: Yuchen Wang <[email protected]>
|
Fixed the Podman override flagged by Devin in c5a2dc1. It now reaps the rootless-probe subprocess in |
|
CI finished after my last comment, and every check on c5a2dc1 passes, including the Runtime (docker-network) and Runtime (podman-network) jobs. Could a maintainer review this PR? |
Cancelling or timing out rootless detection could leave its
docker infoorpodman infoprocess running. Both implementations now call the existing termination helper infinally, preserving cancellation propagation and the cachedFalsefallback for other probe failures.The subprocess regressions cover cancellation, timeout, communication failure, and cleanup failure for both Docker and Podman. The Podman cancellation case reproduced the missing cleanup before the November 19 fix.
Validation on
c5a2dc163a5e(macOS, Python 3.13.14):pytest -q tests/unit/environments/test_docker.py tests/unit/environments/test_podman.py: 216 passed, 2 skipped.ty checkandgit diff --checkpassed.AI assistance: Codex wrote the patch and tests, ran the checks, and drafted this description.