3.6 KiB
3.6 KiB
Workflow Implementation Backlog
Epic 1: Canonical Workflow Model
Tickets
E1-T1Finalize canonical workflow JSON schema withversion,nodes,edges, and optionalui.E1-T2Align frontend workflow API types with the backend schema.E1-T3Extend backend validation for duplicate IDs, invalid edges, unknown steps, and invalid params.E1-T4Add migration helpers for existing preset configs:still,turntable,multi_angle,still_with_exports.E1-T5Add tests for preset-to-DAG migration.
Primary Files
backend/app/domains/rendering/workflow_schema.pyfrontend/src/api/workflows.tsfrontend/src/pages/WorkflowEditor.tsx
Epic 2: Node Registry and Settings Schemas
Tickets
E2-T1Add a backendNodeDefinitionRegistry.E2-T2Define metadata and settings schema for each workflow node.E2-T3AddGET /api/workflows/node-definitions.E2-T4Provide schema-driven defaults and editor field groups.E2-T5Add composite bridge nodes for safe migration.
Required Node Coverage
resolve_step_pathocc_object_extractocc_glb_exportglb_bboxmaterial_map_resolveauto_populate_materialsblender_renderthreejs_renderthumbnail_saveorder_line_setupresolve_templateblender_stillblender_turntableoutput_saveexport_blendstl_cache_generatenotify
Epic 3: Legacy Step Extraction
Tickets
E3-T1Create a parity matrix from the legacy render pipeline.E3-T2Extractorder_line_setupinto a reusable service/task.completedE3-T3Extractresolve_template.completedE3-T4Extractmaterial_map_resolve.completedE3-T5Extractauto_populate_materials.completedE3-T6Extractglb_bbox.completedE3-T7Extractoutput_save.completedE3-T8Extractnotify.completedE3-T9Add executor tests for all extracted nodes.
Legacy Sources
backend/app/domains/pipeline/tasks/render_order_line.pybackend/app/domains/rendering/tasks.pybackend/app/core/process_steps.py
Epic 4: Graph Runtime
Tickets
E4-T1IntroduceWorkflowContext.E4-T2Refactor executor to process nodes against context and node outputs.E4-T3Persist node-level run records, logs, timings, and outputs.E4-T4Support retry and failure policies.E4-T5Add execution mode switch:legacy,graph,shadow.E4-T6Add hard fallback to legacy dispatch on graph failure.
Epic 5: Editor Parity
Tickets
E5-T1Save and loadedges.E5-T2Replacepipeline_stepin node UI data with canonical nodestep.E5-T3Render node settings from backend schemas.E5-T4Add graph validation in the editor.E5-T5Add dry-run and dispatch from the editor.E5-T6Add workflow run inspection UI.
Epic 6: Rollout and Quality
Tickets
E6-T1Add shadow mode parity execution.E6-T2Build output comparison tooling.E6-T3Define golden test cases.E6-T4Roll out per workflow or output type.E6-T5Keep legacy fallback after rollout.