Repository navigation
chore: prepare SDK 3 and OTel 2 releases - #801
Open
zhongkechen wants to merge 5 commits into
Open
zhongkechen wants to merge 5 commits into
zhongkechen wants to merge 5 commits into
Conversation
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 21, 2026 22:43
dced913 to
24add8b
Compare
zhongkechen
changed the base branch from
main
to
refactor/per-invocation-plugin-instances
October 21, 2026 22:43
zhongkechen
added this pull request to stack #802
October 21, 2026 22:48
zhongkechen
marked this pull request as ready for review
October 21, 2026 22:49
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 21, 2026 22:49 — with
GitHub Actions
Inactive
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 21, 2026 22:49
24add8b to
bd955be
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 21, 2026 22:49 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 22, 2026 17:03
bd955be to
1f1273a
Compare
zhongkechen
had a problem deploying
to
ai-pr-review-runtime
October 22, 2026 17:04 — with
GitHub Actions
Error
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 17:39 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 18:00 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 19:38 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 20:12 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
Base automatically changed from
refactor/per-invocation-plugin-instances
to
main
October 22, 2026 20:41
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 22, 2026 20:41
f13d517 to
b1012c8
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 20:42 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 22:35 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 22, 2026 22:51
df89510 to
f14ead9
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 22, 2026 22:51 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 23, 2026 20:13
f14ead9 to
f780b41
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 20:13 — with
GitHub Actions
Inactive
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 20:16 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 23, 2026 20:51
1e0b909 to
dfe6761
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 20:52 — with
GitHub Actions
Inactive
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 23, 2026 20:54
dfe6761 to
e50d833
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 20:55 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 23, 2026 22:26
e50d833 to
8bb1d6d
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 22:27 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
zhongkechen
force-pushed
the
chore/prepare-python-major-release-20261021
branch
from
October 23, 2026 22:34
8bb1d6d to
8c553eb
Compare
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 23, 2026 22:34 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
yaythomas
approved these changes
Oct 23, 2026
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
October 24, 2026 01:35 — with
GitHub Actions
Inactive
Contributor
Codex AI reviewNo actionable findings in the PR changes. Residual test risk: tests and documentation examples were inspected but not executed, per the review constraints. Reviewed commit |
This branch was previously 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.
Prepare the coordinated Core 3.0.0 / OTel 2.0.0 release on top of #737. The plugin contract changes from shared instances to per-invocation factories; the release now includes a complete 2.x to 3.0 migration guide so consumers can update their packages, providers, and Lambda layers together.
Release scope
Core, OTel, and Extras version changes are inherited from #737. Testing keeps the previously published 1.3.0 version. The compatibility check verifies that OTel accepts later Core 3.x minor releases.
Migration guidance
Use the same section order, sentence-case headings, terminology, and version-labeled examples as the JavaScript and Java migration guides.
The new guide follows the existing 1.x-to-2.0 guide: why upgrade, porting steps, before/after examples, searches for affected code, and post-upgrade validation. It covers the removed provider wrapper, factory and invocation state ownership, OTel registration and layer upgrades, optional registration metadata, and replay/concurrency checks. The root README, Core/OTel READMEs, and release instructions link to it.
The guide also covers #737's failed-Start context change: Core 3 retains partial context-variable bindings for later hooks, handler code and cleanup. Plugins own restoration; invocation End retains token ownership and the caller remains isolated. This restack preserves the existing release metadata and passes the ten OTel package-metadata tests.
Merge order
Merge #737 first, then retarget this PR to
mainand refresh it. Finalize any additional release content and publication notes before publishing.Validation
For the migration-guide update:
git diff --checkpass. The style update preserves all 10 code blocks apart from version-label comments and leaves package versions unchanged.This update changes documentation only; cloud release acceptance remains part of final release validation.
Restacked on #737's registration-cleanup fix (
e1e0ae47). Invalid loaded candidates now receive rejection cleanup; type inspection cannot interrupt notification or replace the original error. The changed validator and new regression tests match #737 exactly. Shared validation passes 1,978 Core tests, 736 OTel tests, 204 Telemetry tests, and installed-wheel compatibility checks. The final stack's focused 100-test registration run and Core type checks also pass.Restacked on #737 after its integration of main
531969b5. This carries the worker suspension and plugin lifecycle logging fixes while preserving this PR’s own layer. The incoming replay regression uses the Core 3 factory API. Shared validation passes all 436 worker tests and 14 general conformance tests, worker type checks, package formatting and builds.