Skip to content

Add Cloud Run Id worker sample - #356

Closed
seanbollin wants to merge 1 commit into
mainfrom
cloud-run-worker-id
Closed

seanbollin wants to merge 1 commit into
mainfrom
cloud-run-worker-id

Conversation

@seanbollin

@seanbollin seanbollin commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Runs a Temporal Worker on a Google Cloud Run worker pool using the Cloud Run Id plugin (temporalio.contrib.gcp.cloud_run.id.CloudRunIdPlugin), which sets the Temporal client identity from Cloud Run instance metadata (<instance_id>@<revision>) so each instance is identifiable in Temporal.

Deploy the worker pool with gcloud run worker-pools deploy temporal-worker --source . --region us-central1 (see gcp/cloud_run/id/README.md), then start a Workflow from the repo root with uv run python -m gcp.cloud_run.id.starter.

The plugin is unreleased, so pyproject.toml pins temporalio to the SDK commit via a git source; drop the override once it ships on PyPI.

@seanbollin seanbollin changed the title Add Google Cloud Run worker-identity sample Add Google Cloud Run Id sample Sep 18, 2026
@seanbollin seanbollin changed the title Add Google Cloud Run Id sample Add Cloud Run Id worker sample Sep 18, 2026
@seanbollin
seanbollin marked this pull request as ready for review September 28, 2026 22:45
@seanbollin
seanbollin requested a review from a team as a code owner September 28, 2026 22:45
@seanbollin
seanbollin marked this pull request as draft September 29, 2026 00:10
@seanbollin seanbollin closed this Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant