Skip to content

[CKS] Integration tests for url2video orchestrator step wiring (14-url-to-video-workflow) #868

Closed as not planned

Description

@cardinalconseils

Summary

Orchestrator (packages/cli/src/url2video/orchestrator.ts) wires scrape → generate → narrate → render and updates the run manifest between each step. Currently only individual step units are tested. Need integration tests around the orchestrator state machine: resume on partial failure, per-language fan-out, manifest transitions.

Source

  • Phase: 14 — URL-to-Video Workflow
  • Trigger: backlog punt (4c) — Sprint Review verdict: ship as-is
  • Filed by: CKS auto-filing (Dark Factory)
  • Date: 2026-05-15
  • Intended label: cks:backlog (label create currently blocked by token scope — using enhancement)

Details

Tests to add:

  • Resume a run mid-pipeline (manifest with generate: ok, narrate: pending) — orchestrator skips done steps.
  • Per-language fan-out: --langs fr,en produces two render-<lang>/ working dirs and two output.mp4 paths.
  • Failure surfaces correctly: a thrown step produces failedStep in manifest + BLOCKED.md, exit code non-zero.

Evidence

packages/cli/src/url2video/orchestrator.ts (no orchestrator.test.ts present alongside manifest.test.ts, blocked.test.ts, openrouter.test.ts).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions