feat(plugin): decouple instrumentation enums from lambda service - #634
Merged
Conversation
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
August 13, 2026 03:41 — with
GitHub Actions
Inactive
zhongkechen
had a problem deploying
to
ai-pr-review-runtime
August 13, 2026 03:41 — with
GitHub Actions
Failure
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
August 13, 2026 06:03 — with
GitHub Actions
Inactive
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
August 13, 2026 06:03 — with
GitHub Actions
Inactive
This comment has been minimized.
This comment has been minimized.
Contributor
Claude AI reviewReview: decouple instrumentation enums from lambda serviceThe refactor is complete and internally consistent. I found no actionable correctness, determinism, concurrency, or serialization defects. What I verified
Residual risk (not blocking)
Reviewed commit |
zhongkechen
had a problem deploying
to
ai-pr-review-runtime
August 14, 2026 18:39 — with
GitHub Actions
Failure
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
August 14, 2026 18:39 — with
GitHub Actions
Inactive
| DURABLE_INSTRUMENTATION_PLUGIN_API_VERSION = 1 | ||
|
|
||
|
|
||
| class InvocationStatus(Enum): |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
zhongkechen
temporarily deployed
to
ai-pr-review-runtime
August 14, 2026 19:23 — with
GitHub Actions
Inactive
zhongkechen
had a problem deploying
to
ai-pr-review-runtime
August 14, 2026 19:23 — with
GitHub Actions
Failure
Contributor
Codex AI reviewFound one high-severity plugin compatibility regression. Residual risk: no test covers loading the previous OTel release with the updated core SDK. Reviewed commit |
Contributor
|
Why do we need this change? Are we modifying lambda provided InvocationStatus and OperationType within plugin lifecycle? |
ayushiahjolia
approved these changes
Aug 14, 2026
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.
Summary
InvocationStatusandOperationTypeenums and convert Lambda service values at the plugin boundaryTesting
hatch run dev-core:test(1,523 passed, 5 subtests passed)hatch run dev-otel:test(115 passed)hatch run dev-testing:test(1,365 passed)hatch run dev-core:pytest packages/aws-durable-execution-sdk-python/tests/plugin_test.py packages/aws-durable-execution-sdk-python/tests/plugin_discovery_test.py(103 passed, 5 subtests passed)hatch run dev-otel:pytest packages/aws-durable-execution-sdk-python-otel/tests/test_plugin_provider.py(5 passed)hatch run types:checkhatch fmt --checkfor core, OTel, and testing packages