Skip to content

Draft Modal Serverless Worker documentation - #5779

Draft
lennessyy wants to merge 22 commits into
mainfrom
docs/modal-serverless-workers
Draft

lennessyy wants to merge 22 commits into
mainfrom
docs/modal-serverless-workers

Conversation

@lennessyy

@lennessyy lennessyy commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Drafts Modal Serverless Worker documentation using the Lambda pages as the structural model:

  • Deployment: package the Python Worker, configure credentials in both directions, register compute, and verify automatic invocation.
  • Python SDK: use the released temporalio-modal-function-worker==0.0.1 integration.
  • Concepts: explain invocation and container lifetimes, shutdown budgets, Temporal and Modal autoscaling, and version pinning.
  • Troubleshooting: distinguish invocation, authentication, routing, timeout, and capacity failures.

All four pages render in the PR preview and appear beside the Lambda pages in the sidebar. readme/MODAL-DRAFT.md records source evidence, publication dependencies, and follow-up work.

Notes to reviewers

Keep this PR as a draft pending the Modal WCI provider change (temporalio/temporal-auto-scaled-workers#154), confirmed Cloud rollout and OAuth instructions, and end-to-end testing in an authorized environment. The published Python package does not establish provider availability.

Validation:

  • CI-scoped Vale, direct MDX compilation, 26 internal links/anchors, index-slug and orphan checks passed.
  • Extracted Python example completed a Workflow and Activity locally using the published integration; direct Pyright passed.
  • The repository Python sample checker reports one missing-module finding because its dependency discovery does not supply the separately named integration distribution. The installed-environment type check and execution test passed.
  • Live Modal deployment and autoscaling still need end-to-end verification.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Nov 25, 2026 11:59pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Snipsync coverage

SDK code lines in docs/ that come from Snipsync: 62.5% → 62.5% (±0.0 pts), 26,443 of 42,287 lines.

Section Snipsync lines Inline lines Snipsync % Change
develop/python 5,721 → 5,769 536 91.4% → 91.5% +0.1 pts
production-deployment 116 → 145 746 13.5% → 16.3% +2.8 pts
All sections

All languages: 53.5% (27,310 of 51,022 lines).

Section Snipsync lines Inline lines Snipsync %
design-patterns 26 7,808 0.3%
develop/python 5,769 536 91.5%
develop/java 4,639 49 99.0%
guides 34 4,496 0.8%
develop/go 4,355 77 98.3%
develop/typescript 3,706 313 92.2%
develop/dotnet 3,029 7 99.8%
develop/rust 1,571 0 100.0%
develop/php 1,394 0 100.0%
develop/ruby 1,232 0 100.0%
develop 484 606 44.4%
production-deployment 145 746 16.3%
encyclopedia 0 837 0.0%
develop/worker-performance 48 177 21.3%
cloud 0 127 0.0%
references 0 48 0.0%
best-practices 11 17 39.3%
Language Snipsync lines Inline lines Snipsync %
Python 5,941 6,618 47.3%
Go 4,495 3,178 58.6%
Java 4,724 2,593 64.6%
TypeScript 3,873 2,777 58.2%
C# 3,104 464 87.0%
Rust 1,609 31 98.1%
Ruby 1,303 159 89.1%
PHP 1,394 24 98.3%
Snipsync origin Lines
temporalio/documentation-sdk-code-examples 21,254
temporalio/samples-python 2,794
temporalio/samples-typescript 697
temporalio/samples-dotnet 655
temporalio/features 464
temporalio/samples-go 384
temporalio/samples-java 184
temporalio/reference-app-orders-go 11

Compared with c103729. Counts non-blank lines in fenced code blocks and <CodeSnippet> elements tagged with an SDK language. Hand-written code isn't compiled anywhere; code Snipsync pulls from a sample repository is built in that repository's CI. See UTILITIES.md.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This branch was successfully deployed

1 active deployment
Preview — eb189c3b Deployed Nov 26, 2026 by vercel[bot]
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