Skip to content

Add workflow engine scaffolding and APIs#83

Draft
epuerta9 wants to merge 2 commits into
mainfrom
codex/add-durable-workflow-engine-to-station
Draft

Add workflow engine scaffolding and APIs#83
epuerta9 wants to merge 2 commits into
mainfrom
codex/add-durable-workflow-engine-to-station

Conversation

@epuerta9
Copy link
Copy Markdown
Collaborator

Summary

  • add workflow definition/run tables with accompanying sqlc queries and repositories to store versions, runs, and step history
  • introduce workflow domain models, validation utilities, and service logic plus tests for creating workflows and starting runs
  • expose workflow definition and run HTTP endpoints and wire them into the API router
  • add Serverless Workflow translator and NATS-backed workflow engine options (including embedded JetStream) with runtime tests and optional auto-wiring via env vars

Testing

  • go test ./internal/workflows
  • go test ./internal/workflows/runtime
  • go test ./internal/services -run ^TestWorkflowServiceCreateAndStartRun$ -count=1
  • go test ./... (still fails: lighthouse integration and OpenAI plugin tests expect external services/keys)

Codex Task

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant