Skip to main content

Temporal and orchestration

Scope

Temporal orchestrates workflows in three shapes:

Workflow shapeTypical durationPurpose
Event ingestsecondsHandle near-real-time operational events
Batch commitminutes to hoursAggregate and anchor state transitions
Passport lifecyclemonths to yearsTrack DPP lifecycle across ownership and compliance events

Invariants

  • Activities must be idempotent and retry-safe.
  • Workflow inputs and signals must be versioned.
  • Long-lived workflows must rotate history before hard limits.

Failure Modes

  • Non-deterministic workflow code causing replay failures.
  • Unbounded history growth from missing continue-as-new boundaries.
  • Side effects inside workflow context instead of activities.

Out of Scope

  • Internal task queue names and namespace layout.
  • Exact timeout and retry policy values per workflow.
  • Customer-specific workflow variants.