Skip to content

feat(workflow): add DAG conditions and composable sub-workflows - #1128

Closed
hsuchifeng wants to merge 1 commit into
Tencent:mainfrom
hsuchifeng:feat/1078-dag-subworkflows
Closed

hsuchifeng wants to merge 1 commit into
Tencent:mainfrom
hsuchifeng:feat/1078-dag-subworkflows

Conversation

@hsuchifeng

Copy link
Copy Markdown
Collaborator

Summary

  • add DAG dependencies, conditions, join and failure/recovery propagation
  • add restricted expressions and templates without eval, with command inputs passed only through env: mappings
  • add file and inline sub-workflows, inputs, outputs, and named ends with namespace-aware resolution
  • validate missing references, cycles, recursion, unreachable steps, outputs, and ends per workflow file
  • update the English and Chinese workflow guides

Closes #1078

Testing

  • npm run build
  • npx tsc --noEmit
  • npm run lint
  • npx vitest run src/__tests__/workflow-*.test.ts (73 tests passed)
  • npx vitest run commands-reference -u
  • npm run test:e2e -- src/__tests__/workflow-subworkflow-e2e.test.ts (real CLI file sub-workflow E2E passed)

Made with Cursor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Add DAG conditions and composable sub-workflows

2 participants