FabricFabricExperiments
Deployment

Temporal and Harness worker

Deploy the durable SRM watcher and analyst worker.

The production worker runs with FX_HARNESS_RUNTIME=temporal and connects to Temporal Cloud.

Required env vars:

  • FX_HARNESS_RUNTIME=temporal
  • TEMPORAL_ADDRESS
  • TEMPORAL_NAMESPACE
  • FX_HARNESS_TASK_QUEUE=srm-watcher-cron
  • TEMPORAL_TLS_CERT
  • TEMPORAL_TLS_KEY
  • FX_API_BASE_URL
  • FX_API_KEY
  • WORKER_API_TOKEN
  • optional FX_AUDIT_FORWARD_INTERVAL_MS
  • optional FX_SLACK_WEBHOOK_URL

Before building the worker container for staging, follow ADR-0005 and replace local link: Harness dependencies with published @fabric-harness/sdk and @fabric-harness/temporal packages.

docker build -t fabric-experiments-worker:staging -f infra/harness/worker.dockerfile .