mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
4345371142
Both orchestrators fork a worker per codename or per build step, so a signal sent to the orchestrator never reached the builds: run_bounded's forwarding covers the build inside one worker, not the workers themselves. The orchestrator exited and released its locks while its workers kept building, and the next run raced processes it could not see. One handler now passes INT, TERM and HUP to the live workers, waits for them and re-raises the signal, shared by the sbuild loop and both ForkManager pools.