What problem does it solve?
Managing external work within workflows can be brittle without proper timeouts, retries, and heartbeat signaling. This skill provides guidance to design and configure Temporal activities to be robust, idempotent, and observable.
Core Features & Use Cases
- Timeout configuration for activities: ScheduleToCloseTimeout, StartToCloseTimeout, and HeartbeatTimeout to bound total, per-attempt, and progress-monitoring time.
- Retry policy guidance: InitialInterval, BackoffCoefficient, MaximumInterval, MaximumAttempts, and non-retryable errors.
- Idempotency strategies: idempotency keys and transactional patterns to avoid duplicate side effects.
- Heartbeats and cancellation: progress reporting during long-running tasks and responsive cancellation handling.
- Common use cases: HTTP/gRPC calls, DB operations, file I/O, and message publishing with safe retry semantics.
Quick Start
Implement a Temporal activity with appropriate Timeouts and a RetryPolicy.