Repository navigation
Conversation
The Documentation team now publishes python.temporal.io from temporalio/sdk-api-reference, from each release. Remove the production deploy that ran on every push to main; two production deploys to the same Vercel project would overwrite each other. The API docs build check is unchanged.
Duncanma
enabled auto-merge (squash)
December 2, 2026 00:55
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Removes the "Deploy prod API docs" step from
.github/workflows/ci.yml. The step rannpx vercel deploy build/apidocs ... --prodon every push tomainand published the result to https://python.temporal.io. Nothing else in the workflow changes: the "Build API docs" step (poe gen-docs, with pydoctor'swarnings-as-errors) still runs on the same matrix entry, so a documentation build that breaks is still caught, and thedocsTargetflag is still used by it and by the README table-of-contents check.Why
The Documentation team is taking over publishing the SDK API reference sites, so that all of them are built and deployed the same way. The new pipeline is in https://github.com/temporalio/sdk-api-reference. It watches this repository's GitHub releases, builds the reference from the release tag, checks it, and deploys it to the existing
pythonVercel project. Two things deploying production builds to the same project would overwrite each other, so this repository's deploy step has to go.What changes for python.temporal.io
main. Documentation changes merged tomainappear on the site after the next release.uv.lock, using this repository's own settings inpyproject.toml.scripts/_img, as before.One thing to keep in mind
The pipeline builds with the
ProtobufSystemclass inscripts/gen_docs.py(it imports the class rather than copying it), so that links to the generated*_pb2types resolve. If that class is renamed or removed, the reference build for the next release will fail and the Documentation team will see a tracking issue for it. Please let us know if you plan to change it.After merging
VERCEL_TOKEN,VERCEL_ORG_IDandVERCEL_PROJECT_IDsecrets in this repository are no longer used by any workflow and can be deleted.Questions: Duncan Mackenzie (@Duncanma)