Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(producer): disk preflight names only causes that reach it; refresh the router field's docstring
Vance Ingalls5f373894d097
diff --git a/packages/producer/src/services/render/observability.ts b/packages/producer/src/services/render/observability.tsindex a1d1a2c6c6..af10d38b55 100644--- a/packages/producer/src/services/render/observability.ts+++ b/packages/producer/src/services/render/observability.ts@@ -161,13 +161,20 @@ export interface RenderCaptureObservability {/** Worker count the resolver would have used absent the router; undefined if it never fired. */dePreRouterWorkers?: number;/**- * Non-DE parallel-streaming router outcome (HF_CAPTURE_PARALLEL_STREAM):- * "screenshot" | "beginframe" — the render passed every gate AND the kill- * switch was on, so it was routed through the interleaved streaming encoder- * (the value is the capture mode that streamed); "eligible_off" — the render- * passed every gate EXCEPT the kill switch (passive cohort-sizing signal for- * the default-off soak: how many renders WOULD route if enabled). Absent =+ * Non-DE parallel-streaming router outcome. "screenshot" | "beginframe" —+ * the render passed every gate and the router was on for its capture mode+ * (BeginFrame by default; screenshot only with HF_CAPTURE_PARALLEL_STREAM+ * set), so it streamed through the interleaved encoder; the value is the+ * mode that streamed. "eligible_off" — the render passed every gate but the+ * router was off for it: the screenshot cohort the mode split holds back,+ * plus explicit HF_CAPTURE_PARALLEL_STREAM=false opt-outs. Absent =* ineligible regardless of the switch.+ *+ * The mode comes from resolveParallelCaptureMode, which mirrors the engine's+ * launch rule, not from the platform-only captureMode label. The two can+ * disagree on Linux with system Chrome or DPR > 1 (captureMode says+ * "beginframe", this field says "screenshot"); this field is the one that+ * matches what actually streamed.*/captureParallelStream?: "screenshot" | "beginframe" | "eligible_off";protocolTimeoutMs?: number;diff --git a/packages/producer/src/services/render/stages/captureStage.ts b/packages/producer/src/services/render/stages/captureStage.tsindex 9de570cfc3..f6185b6ae7 100644--- a/packages/producer/src/services/render/stages/captureStage.ts+++ b/packages/producer/src/services/render/stages/captureStage.ts@@ -196,11 +196,13 @@ export function assertDiskCaptureHeadroom(`but only ${(headroom.freeBytes / 1e6).toFixed(1)} MB is free at ${framesDir}. ` +"Disk capture stores every frame as raw RGBA. mp4/mov renders stream instead: " +"always at --workers 1, and multi-worker on Linux BeginFrame capture. " +- "This render landed on disk because the output is png-sequence, gif, HDR or " +- "shader-transition, because it is multi-worker screenshot capture (opt in with " +- "HF_CAPTURE_PARALLEL_STREAM=true), or because streaming was switched off " +- "(HF_CAPTURE_PARALLEL_STREAM=false, PRODUCER_ENABLE_STREAMING_ENCODE=false, " +- "PRODUCER_STREAMING_ENCODE_DURATION_CAP_ENABLED=true). " ++ "This render landed on disk because the output is png-sequence or gif, because it " ++ "is multi-worker screenshot capture (opt in with HF_CAPTURE_PARALLEL_STREAM=true), " ++ "or because streaming was switched off: HF_CAPTURE_PARALLEL_STREAM=false, " ++ "PRODUCER_ENABLE_STREAMING_ENCODE=false, or the duration cap " ++ "(PRODUCER_STREAMING_ENCODE_DURATION_CAP_ENABLED=true) on a render longer than " ++ "PRODUCER_STREAMING_ENCODE_MAX_DURATION_SECONDS. HDR and shader-transition renders " ++ "never reach this check; they run their own compositor. " +"Re-run with --workers 1, use --low-memory-mode, or free up disk space.",);}