check --at hangs, then fails with Runtime.callFunctionOn: Target closed on a composition that renders successfully · Issue #5717 · heygen-com/hyperframes · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
check --at hangs, then fails with Runtime.callFunctionOn: Target closed on a composition that renders successfully #5717
On HyperFrames 0.8.74, hyperframes check . --at ... --browser-gpu --json hangs for several minutes and then records check_runtime_failure: Protocol error (Runtime.callFunctionOn): Target closed. The same composition renders all 3261 frames successfully at delivery quality with hardware GPU.
Reproduction
Use a 1080x1920, 30 fps, 108.7 second HTML composition containing one video, one audio track, GSAP timeline elements, and local PNG assets.
Run HF_CHECK_MAX_WAIT_MS=90000 hyperframes check . --at 31.90 --browser-gpu --json.
The command stalls beyond the requested max wait and is later killed by the shell timeout. A larger multi-timestamp run wrote the attached failure shape below.
Run hyperframes render . --quality delivery --workers 4 --browser-gpu.
The command also warns that two PNG assets (2.2 MB and 5.8 MB) exceed the 2 MB inline limit. That warning may be relevant, but browser rendering still resolves those same local assets correctly.
Expected result
check --at should either complete successfully for the requested timestamps, or fail promptly with a bounded actionable error. HF_CHECK_MAX_WAIT_MS should prevent an unbounded hang.
Environment
HyperFrames: 0.8.74 (project-pinned)
Node: v22.23.1
macOS 27.0, Apple M3 Ultra
Browser GPU: ANGLE Metal hardware
Render path succeeds with --quality delivery --workers 4 --browser-gpu
The report is pinned to 0.8.74. Since then, #5537 added a shared 120-second check deadline after browser readiness, cancellation, and bounded cleanup. Current main is at 0.8.166 and contains that implementation. HF_CHECK_MAX_WAIT_MS is not read by the current CLI; the deadline is fixed at 120 seconds.
I ran the existing deadline unit suite: all 5 tests passed, including sampling sharing the readiness budget and cleanup when an operation ignores cancellation. I have not run your original composition, so this does not establish whether its timestamp check now succeeds.
Could you retry with a current HyperFrames version, confirming that the project-local binary is also updated? If it still stalls, the exact new version and whether it returns the check-deadline diagnostic would help distinguish a remaining problem from the older unbounded path.
Activity
Dante-dan commentedon Oct 16, 2026
The report is pinned to 0.8.74. Since then, #5537 added a shared 120-second check deadline after browser readiness, cancellation, and bounded cleanup. Current main is at 0.8.166 and contains that implementation.
HF_CHECK_MAX_WAIT_MSis not read by the current CLI; the deadline is fixed at 120 seconds.I ran the existing deadline unit suite: all 5 tests passed, including sampling sharing the readiness budget and cleanup when an operation ignores cancellation. I have not run your original composition, so this does not establish whether its timestamp check now succeeds.
Could you retry with a current HyperFrames version, confirming that the project-local binary is also updated? If it still stalls, the exact new version and whether it returns the check-deadline diagnostic would help distinguish a remaining problem from the older unbounded path.