feat: add Temporal integration foundation (phase 1-2)

- Add Temporal SDK dependencies (@temporalio/client, worker, workflow, activity)
- Add shared types for pipeline state, metrics, and progress queries
- Add classifyErrorForTemporal() for retry behavior classification
- Add docker-compose for Temporal server with SQLite persistence
This commit is contained in:
ajmallesh
2026-01-12 17:46:21 -08:00
parent 49e53b9e0c
commit 6fdfdcb96a
5 changed files with 2032 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
services:
temporal:
image: temporalio/auto-setup:latest
environment:
- DB=sqlite
- SQLITE_DB_PATH=/var/lib/temporal/temporal.db
ports:
- "7233:7233" # gRPC
- "8233:8233" # Web UI
volumes:
- temporal-data:/var/lib/temporal
healthcheck:
test: ["CMD", "temporal", "operator", "cluster", "health", "--address", "localhost:7233"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
volumes:
temporal-data: