Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (claude): keep install singleton held until the killed child exits
[._.]/ Adam Eivy800fcf22b1e2
diff --git a/server/routes/midiRuntime.js b/server/routes/midiRuntime.jsindex d1447d2d32..5d2b491df1 100644--- a/server/routes/midiRuntime.js+++ b/server/routes/midiRuntime.js@@ -120,7 +120,11 @@ router.get('/install', asyncHandler(async (req, res) => {try { process.kill(-child.pid, 'SIGTERM'); }catch { child.kill('SIGTERM'); }}- installInFlight = null;+ // Do NOT clear installInFlight here — the SIGTERM'd process group is only+ // signalled, not yet reaped, and a mid-download pip child can take seconds+ // to exit. Releasing the singleton now would let an immediate retry spawn a+ // second install against the same half-torn-down venv. child.on('close')+ // clears it once the child has actually exited (mirrors music.js).safeEnd();});}));