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: a resumed stills-only autopilot run drops its pending clip pilot so every still is made before it parks
[._.]/ Adam Eivy75ef92c33319
diff --git a/server/services/musicVideo/production.js b/server/services/musicVideo/production.jsindex 6e41deda80..210dba3f29 100644--- a/server/services/musicVideo/production.js+++ b/server/services/musicVideo/production.js@@ -832,7 +832,8 @@ export function resumeProductionOnProject(project, runId, { limits, acceptBasisresumedAt: now,retryAcknowledged: run.steps.filter((step) => step.status === 'failed').map((step) => step.key),stopBefore: nextStop,- ...(!run.pilot && !run.reviewRunId && !nextStop ? { pilot: { scenes: null } } : {}),+ // A stills-only run makes no clip, so it drops any pending clip pilot.+ ...(nextStop ? { pilot: null } : !run.pilot && !run.reviewRunId ? { pilot: { scenes: null } } : {}),stopReason: null,error: null,...(run.finalRender?.status === 'failed' || (run.finalRender && run.processId !== processId) ? { finalRender: null } : {}),diff --git a/server/services/musicVideo/productionService.test.js b/server/services/musicVideo/productionService.test.jsindex 0817cdba21..bbfed2cf4f 100644--- a/server/services/musicVideo/productionService.test.js+++ b/server/services/musicVideo/productionService.test.js@@ -280,6 +280,19 @@ describe('music video production run (#9066)', () => {expect(dispatch.mock.calls.length).toBeGreaterThan(2);});+ // Uniquely catches a resumed run keeping its pending clip pilot, which would filter stills to the pilot scenes and park early.+ it('drops a pending clip pilot when a normal run is resumed as stills-only', async () => {+ seedProject();+ await start();+ await service.stopProduction('mv-example', theRun().id);+ expect(theRun().pilot).not.toBeNull();+ await service.resumeProduction('mv-example', theRun().id, { stopBefore: 'clips' });+ await settle();+ expect(theRun()).toMatchObject({ stopBefore: 'clips', pilot: null });+ expect(dispatch.mock.calls.every(([a]) => a.stepKind === 'frame')).toBe(true);+ expect(new Set(dispatch.mock.calls.map(([a]) => a.scene.sceneId))).toEqual(new Set(['mvs-a', 'mvs-b']));+ });+it('in a composition document, skips frames for card scenes and clips for still/card scenes', async () => {seedProject({composition: { mode: 'document' },