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
fix: clarify synthesis timeout and cancellation ownership
[._.]/ Adam Eivy038474677816
diff --git a/server/services/htmlComposition/encode.js b/server/services/htmlComposition/encode.jsindex e83d880427..4fa73bcd00 100644--- a/server/services/htmlComposition/encode.js+++ b/server/services/htmlComposition/encode.js@@ -68,6 +68,9 @@ export async function encodeComposition(page, contract, outputPath, { musicPath,export async function synthesizeCompositionMusic(page, durationSec) {const sampleRate = 24000;const length = Math.round(sampleRate * durationSec);+ // browser.js evaluate -> send supplies a 30-second command deadline and+ // rejects all pending commands on the render signal abort; index.js closes+ // the disposable context in finally, including a never-settling score.const samples = await page.evaluate(`(async () => {const renderAudio = globalThis.portosComposition.renderAudio;if (typeof renderAudio !== 'function') throw new Error('portosComposition.renderAudio is required for synthesized music');