3.4 KiB
3.4 KiB
Workflow Delivery Checklist
Phase Checklist
Phase 1
- Canonical workflow schema finalized
- Frontend and backend workflow types aligned
- Preset workflow migration helpers added
- Tests added for legacy preset conversion
- Legacy dispatch remains default
Phase 2
- Node registry implemented
- Node definitions API available
- All required nodes have settings schemas
- Editor consumes node definitions from backend
Phase 3
- Missing legacy steps extracted into reusable executors
- Extracted node behavior matches legacy services
- Node-level tests cover success and failure paths
- Progress: Phase 3 parity nodes are extracted, covered by targeted runtime tests, and exercised through the workflow executor with legacy-safe bridge dispatch.
Phase 4
- Workflow context introduced
- Node outputs are persisted and reusable
- Graph runtime supports legacy fallback
legacy,graph, andshadowmodes exist- Progress: Workflow configs now normalize to an explicit execution mode, the editor exposes and persists
legacy/graph/shadow, production order-line dispatch can opt into graph mode with hard fallback to legacy on graph failure, and workflow runs now persist their execution mode for safer status tracking and rollout inspection.
Phase 5
- Editor saves nodes and edges
- Editor roundtrip preserves workflow configs
- All node settings are editable
- Validate, dry-run, and dispatch are available
- Runs are visible with node-level status and logs
Phase 6
- Shadow mode parity execution dispatches real graph observer runs alongside authoritative legacy dispatch
- Progress: Workflow runs now expose a comparison endpoint that resolves authoritative legacy outputs and matching shadow artifacts, including file hashes, image dimensions, and mean pixel delta for parity inspection.
- Golden cases pass against legacy outputs
- Rollout can be enabled per workflow or output type
- Rollback to legacy is immediate
Quality Gates
QG-1: Model Gate
- New workflow saves only use canonical schema.
- Backend rejects malformed configs with clear errors.
- Existing preset workflows can be migrated without data loss.
QG-2: Node Gate
- Every editor-visible node has:
- backend node definition
- validated settings schema
- default params
- executor coverage or explicit disabled status
QG-3: Legacy Safety Gate
- Legacy render dispatch remains callable and unchanged in behavior.
- Existing output types still render without workflow migration.
- Graph failures do not block legacy renders.
QG-4: Parity Gate
- Golden cases match on:
- render status
- generated output file
- media asset creation
- notifications
- core render log fields
QG-5: Editor Gate
- Workflow configs survive save/load roundtrip without loss.
- Invalid graphs are blocked before dispatch.
- All node settings needed for parity are present in the editor.
QG-6: Rollout Gate
- Shadow mode has been exercised on representative workflows.
- Graph runtime error rate is at or below legacy error rate.
- Rollout and rollback are possible per workflow or output type.
Definition of Done
/workflowsis production-capable for authoring and running workflows.- Legacy functionality is available in graph form with parity coverage.
- Legacy execution still exists as a supported fallback.