Skip to content

feat(workflow-executor): add example setup with Docker and buildDatabaseExecutor#1524

Merged
matthv merged 1 commit intofeat/prd-214-setup-workflow-executor-packagefrom
feat/workflow-executor-example-setup
Apr 1, 2026
Merged

feat(workflow-executor): add example setup with Docker and buildDatabaseExecutor#1524
matthv merged 1 commit intofeat/prd-214-setup-workflow-executor-packagefrom
feat/workflow-executor-example-setup

Conversation

@matthv
Copy link
Copy Markdown
Member

@matthv matthv commented Apr 1, 2026

Summary

  • Add packages/workflow-executor/example/ with a runnable local setup
  • Docker Compose with PostgreSQL 16 for step execution persistence
  • .env.example template with all required configuration variables
  • index.ts entrypoint using buildDatabaseExecutor factory
  • README with quick start instructions

Test plan

  • docker compose up -d starts PostgreSQL on port 5452
  • npx tsx example/index.ts starts the executor, auto-creates DB tables
  • curl http://localhost:3400/health returns {"state":"running"}
  • Ctrl+C triggers graceful shutdown

🤖 Generated with Claude Code

Note

Add Docker and runnable example setup for buildDatabaseExecutor

  • Adds example/index.ts that loads env vars, constructs a PostgreSQL-backed workflow executor via buildDatabaseExecutor, and starts it.
  • Adds docker-compose.yml to spin up a local Postgres 16 instance on port 5452.
  • Includes README.md with prerequisites, quick-start steps, and teardown instructions, plus an .env.example with all required configuration placeholders.

Macroscope summarized bc9b870.

…aseExecutor

Add a runnable example directory with Docker Compose (Postgres), .env template,
and an index.ts entrypoint using buildDatabaseExecutor for local development.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@qltysh
Copy link
Copy Markdown

qltysh bot commented Apr 1, 2026

Qlty

Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@matthv matthv merged commit 5ae1445 into feat/prd-214-setup-workflow-executor-package Apr 1, 2026
30 checks passed
@matthv matthv deleted the feat/workflow-executor-example-setup branch April 1, 2026 12:52
matthv added a commit that referenced this pull request Apr 1, 2026
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.

2 participants