Skip to content

Tracking: drop Hyperframes workers: 1 workaround once heygen-com/hyperframes#334 ships #206

@kiyeonjeon21

Description

@kiyeonjeon21

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:38workers: options.workers ?? 1
  • packages/cli/src/commands/_shared/scene-render.ts:132workers: 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:

  1. Auto-worker should detect videoCount === 0 and fall back to workers: 1
  2. Tune the auto-worker parallel timeout
  3. Document workers: 1 as safe default

What this issue tracks

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions