Fix HyperFrames Render Cancelled After Parent Exit

Fix render_cancelled_parent_exited by keeping the HyperFrames launcher alive, preserving its exit status, and verifying the render on the same worker.

Updated Dec 4, 2026 · Tested with HyperFrames 0.10.10

This HyperFrames cancellation reason means an ancestor process of the render command exited while the job was still running:

text
render_cancelled_parent_exited

The CLI tracks the lifetime of processes that started the render, including shells and wrappers. A wrapper that spawns HyperFrames and immediately returns can trigger the watchdog. So can the loss of a remote command session. The render's outer error may summarize the result as cancelled, so check the failure details and the launcher log together.

macOS, Linux, and SSH

Start the render in the foreground from a shell and keep that shell alive until the CLI exits. In a script, invoke the command directly or have the launcher wait for the child process and propagate its exit status. An SSH job can run the same command in its remote foreground shell. Check for a disconnect or an orchestration timeout if it exits unexpectedly.

bash
npx hyperframes doctor
npx hyperframes render --workers 1 --output parent-check.mp4

If this works but the agent's command wrapper fails, run the same command in a wrapper configured to wait for completion. A partial MP4 left by cancellation should be replaced by a completed render. Check that the command succeeds before moving or uploading the output.

When the failing launcher has its own logs, compare the time it exited with the last progress message from HyperFrames. A consistent gap at the job's time limit points to the launcher. An abrupt stop with a different reason may require checking the host's process or memory logs.

Windows

Run the same two commands directly in PowerShell. If you launch with Start-Process, use -Wait and check the child process status or use a direct invocation of npx. Check whether the terminal host, IDE task, or launcher was closed. Keep the output in a project folder until the render exits successfully.

Docker and CI

In Docker, place the render in the container's foreground command and keep the container running for the duration of the job. A container stops when its main process exits. In CI, keep the render and its verification in the same step or wait for your job runner's process handle before continuing. Check cancellation, preemption, and step deadlines in the runner log.

The CLI also supports HYPERFRAMES_RENDER_DETACHED=1 for an intentionally detached render. It skips ancestor monitoring and SIGHUP cancellation. Use it only when another process actually owns the job and collects its result, since a closed session or stopped container can still end the process. HyperFrames cancellation source

Run npx hyperframes doctor on the actual worker and verify a short foreground render. If the parent stays alive and Chrome or the composition fails to become ready, see render timeout.

Related guides