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(video): report failed reactor output cleanup (#7799)
[._.]/ Adam Eivy48686e213c52
diff --git a/server/services/videoGen/reactor.js b/server/services/videoGen/reactor.jsindex 1bdb57d697..2ac89f0619 100644--- a/server/services/videoGen/reactor.js+++ b/server/services/videoGen/reactor.js@@ -318,7 +318,7 @@ async function runReactorVideo(job, jobId, {await finalizeGeneratedVideo({ job, jobId, outputPath, filename, meta: { ...meta, aspect: frame.aspect, width: frame.canvas.width, height: frame.canvas.height, clipId: result.clipId, seconds: result.seconds }, actualSeed: seed ?? null, mutateHistory: mutateVideoHistory });closeJobAfterDelay(jobs, jobId);} catch (err) {- await rm(outputPath, { force: true }).catch(() => {});+ await rm(outputPath, { force: true }).catch((cleanupError) => { console.log(`⚠️ Reactor cleanup: could not remove failed output ${outputPath} (${cleanupError.code})`); });// A continuation names a clip reactor rendered in an EARLIER session, and// reactor decides whether it still holds it. Say so on the failure rather// than leaving the user re-reading a prompt that was never the problem.