Skip to content

feat: python serverless worker#4467

Open
lennessyy wants to merge 11 commits intofeat/serverless-worker-prereleasefrom
feat/serverless-worker-python
Open

feat: python serverless worker#4467
lennessyy wants to merge 11 commits intofeat/serverless-worker-prereleasefrom
feat/serverless-worker-python

Conversation

@lennessyy
Copy link
Copy Markdown
Contributor

@lennessyy lennessyy commented Apr 21, 2026

What does this PR do?

  • Add Python to Serverless worker docs

Notes to reviewers

┆Attachments: EDU-6243 feat: python serverless worker

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Apr 24, 2026 11:39pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

- Add versioning behavior (PINNED) to Python and Go code samples
- Add VersioningBehavior import from temporalio.common for Python
- Fix Python packaging to zip deps first then add app files
- Change Go samples from AutoUpgrade to Pinned
- Add Python and TypeScript tabs to deploy guide
- Clean up deploy guide headings (remove articles)
- Add Serverless Worker link in deploy guide intro

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
lennessyy and others added 2 commits April 23, 2026 11:10
- Add versioning behavior (PINNED) example to Python SDK page and deploy guide
- Fix Python packaging: use --platform manylinux2014_x86_64 for Lambda
- Zip deps first, then add app files separately

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Highlight run_worker lines, explain configure callback right after
the code block, move versioning behavior below.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread docs/production-deployment/worker-deployments/serverless-workers/aws-lambda.mdx Outdated
Comment thread docs/develop/python/workers/serverless-workers/aws-lambda.mdx Outdated
Comment thread docs/develop/python/workers/serverless-workers/aws-lambda.mdx Outdated
Co-authored-by: Lenny Chen <55669665+lennessyy@users.noreply.github.com>
@lennessyy lennessyy marked this pull request as ready for review April 23, 2026 18:37
@lennessyy lennessyy requested a review from a team as a code owner April 23, 2026 18:37
The default ADOT collector config does not route OTLP data to the traces
pipeline. Add the custom collector config YAML that wires OTLP to both
traces (X-Ray) and metrics (CloudWatch EMF). Document the required env
var and IAM permissions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The standalone ADOT collector layer (v0.40.0) does not support the
debug exporter. Replace with logging, which is the supported equivalent.
Verified end-to-end: traces now appear in X-Ray.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use the ADOT Python layer (includes auto-instrumentation + collector)
instead of standalone collector layer. Matches the verified sample setup.
Use debug exporter (supported by the newer collector in the language
layer). Add AWS_LAMBDA_EXEC_WRAPPER and tracing-config Mode=Active.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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