Skip to content

fix(render): abort child processes and prevent partial outputs on cancel #28

@ubugeeei

Description

@ubugeeei

Finding

Cancel/error paths can still progress into concat/mux/finalization, which can publish partial outputs as the normal output file.

Evidence

  • render/src/main.rs polls cancel state while worker/ffmpeg phases continue.
  • render/src/ffmpeg.rs manages long-running child processes.

Acceptance criteria

  • Propagate cancellation to child processes.
  • Write to a temporary output and atomically promote only on success.
  • Leave a clear failed/canceled status for the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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