Skip to content

AD-1102: Add workflow routes#52

Open
alph-cmky wants to merge 1 commit into
feat/ad-1101-workflow-registryfrom
feat/ad-1102-workflow-routes
Open

AD-1102: Add workflow routes#52
alph-cmky wants to merge 1 commit into
feat/ad-1101-workflow-registryfrom
feat/ad-1102-workflow-routes

Conversation

@alph-cmky

Copy link
Copy Markdown
Owner

Summary

  • Add workflow route handlers for create, list, get, update, and delete operations.
  • Map workflow validation failures to 400 responses without persisting invalid workflows.
  • Map missing workflows to 404 responses.
  • Keep route handlers thin by delegating persistence and validation to workflow-service.
  • Export workflow route APIs from the server package and update the AD-1102 backlog checklist.

Testing

  • TDD red check: pnpm test apps/server/src/workflows/workflow-routes.test.ts initially failed because workflow-routes.js did not exist.
  • pnpm test apps/server/src/workflows/workflow-routes.test.ts
  • pnpm lint && pnpm format && pnpm typecheck && pnpm test && pnpm build

Stacked on #51.

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.

1 participant