From 19052674bdf64ff48c6b88de30b385c42b343fca Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Sat, 10 Oct 2026 14:41:02 +0000 Subject: [PATCH] fix(autoscaler): run provider scripts with posix_spawn, not fork (bug-1969) The scaler is multi-threaded (monitor and demand threads); invoke() forked and, in the child, logged, snprintf'd and setenv()'d before execl(), which can deadlock on a lock another thread held at fork time and block the caller in waitpid() forever. run_script() now posix_spawn()s `sh