Upstream contribution · debpalash/VoiceStudio
VoiceStudio · Protecting busy VoiceStudio sidecar processes
Problem
An engine-level unload could kill a sidecar while it was handling a request. A duplicate unload override bypassed the reaper's existing operation-lock check.
Engineering response
The engine now reaches the guarded unload path, where busy sidecars remain available and idle ones can shut down and respawn on demand.
Evidence and scope
The PR reports a reproduction using the shipped echo sidecar with its operation lock held and 51 focused checks of the corrected behavior. The offline fixture used native subprocesses and did not perform GPU synthesis.