temporal-serverless
Skill: temporal-serverless
Overview
This skill helps users deploy and operate Temporal Workers on serverless compute. On AWS Lambda, Temporal invokes the Worker on demand through the Worker Controller Instance (WCI); the Worker processes available Tasks and shuts down, scaling to zero when idle. On GCP Cloud Run, the WCI instead resizes a Worker Pool whose instances run ordinary long-lived Workers. The skill produces Worker code, deployment configuration, connection configs, and packaging steps for the chosen SDK, and walks users through troubleshooting when serverless Workers aren't picking up Tasks.
Observability scope
For observability, this skill covers only the serverless Worker packages temporalio.contrib.aws.lambda_worker, temporalio.contrib.gcp.cloud_run, go.temporal.io/sdk/contrib/aws/lambdaworker, and go.temporal.io/sdk/contrib/gcp/cloudrun: the ADOT layer, the Cloud Run OpenTelemetry plugin, the Collector sidecar, and flushing telemetry before shutdown.
Not covered here:
- Telemetry in Worker or Client code outside those packages, including SDK exporters, custom-metric APIs, tracing plugins such as
contrib/opentelemetry, logging options, and Worker heartbeat contents or settings: use temporal-developer. - Collecting, querying, dashboarding, or alerting on Temporal telemetry, including the Temporal Cloud metrics endpoint and self-hosted monitoring documentation: use temporal-observability.