Temporal and orchestration
Scope
Temporal orchestrates workflows in three shapes:
| Workflow shape | Typical duration | Purpose |
|---|---|---|
| Event ingest | seconds | Handle near-real-time operational events |
| Batch commit | minutes to hours | Aggregate and anchor state transitions |
| Passport lifecycle | months to years | Track 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.