Why
We currently force workers: 1 everywhere we invoke the Hyperframes producer because auto-worker mode times out on trivial image-only compositions. This is a workaround for an upstream bug, not the desired behavior.
State of code (2026-04-29)
workers: 1 is hard-coded as the default in 5 places:
packages/cli/src/pipeline/renderers/hyperframes.ts:38 — workers: options.workers ?? 1
packages/cli/src/commands/_shared/scene-render.ts:132 — workers: opts.workers ?? 1
packages/cli/src/tools/manifest/scene.ts:316 — manifest documents "Default 1"
packages/cli/src/commands/scene.ts:1141 — validator allows 1-16
packages/cli/src/commands/_shared/scene-render.test.ts:47 — test expects workers: 1
This was the right call given upstream behavior — sequential renders complete (~9s) where auto-mode times out (~45s) on videoCount: 0 compositions. Documented in docs/upstream/hyperframes-auto-worker-timeout.md.
Upstream
Filed: heygen-com/hyperframes#334 — "producer@0.4.4: auto-worker mode times out on trivial image-only compositions"
Suggested upstream fixes:
- Auto-worker should detect
videoCount === 0 and fall back to workers: 1
- Tune the auto-worker parallel timeout
- Document
workers: 1 as safe default
What this issue tracks
Reference
Why
We currently force
workers: 1everywhere we invoke the Hyperframes producer because auto-worker mode times out on trivial image-only compositions. This is a workaround for an upstream bug, not the desired behavior.State of code (2026-04-29)
workers: 1is hard-coded as the default in 5 places:packages/cli/src/pipeline/renderers/hyperframes.ts:38—workers: options.workers ?? 1packages/cli/src/commands/_shared/scene-render.ts:132—workers: opts.workers ?? 1packages/cli/src/tools/manifest/scene.ts:316— manifest documents "Default 1"packages/cli/src/commands/scene.ts:1141— validator allows 1-16packages/cli/src/commands/_shared/scene-render.test.ts:47— test expectsworkers: 1This was the right call given upstream behavior — sequential renders complete (~9s) where auto-mode times out (~45s) on
videoCount: 0compositions. Documented indocs/upstream/hyperframes-auto-worker-timeout.md.Upstream
Filed: heygen-com/hyperframes#334 — "
producer@0.4.4: auto-worker mode times out on trivial image-only compositions"Suggested upstream fixes:
videoCount === 0and fall back toworkers: 1workers: 1as safe defaultWhat this issue tracks
@hyperframes/producerrelease:?? 1defaults at the 5 sites above (let upstream auto-mode decide)--workers <n>as an override for power usersdocs/upstream/hyperframes-auto-worker-timeout.md(or remove it)Reference
docs/upstream/hyperframes-auto-worker-timeout.md