git commands which require interaction with remote repo leaves zombie proceses. 1 process per each git command.
docker exec -it repro ps -o pid,ppid,stat,tty,args
PID PPID STAT TT COMMAND
1 0 S ? npm start
18 1 S ? {MainThread} node dist/index.js
39 1 Z ? [git]
45 1 Z ? [git]
57 1 Z ? [git]
63 1 Z ? [git]
154 0 R 136,0 ps -o pid,ppid,stat,tty,args
Minimal reproducible example
Observed when running in node:24-alpine docker image
Does not happen in MacOS
simple-git version 3.28.0
git commands which require interaction with remote repo leaves zombie proceses. 1 process per each git command.
Minimal reproducible example
Observed when running in node:24-alpine docker image
Does not happen in MacOS
simple-git version 3.28.0