Skip to content

feat(sdk): Add subtypes for Step, Wait, Callback and Invoke operations#404

Closed
nvasiu wants to merge 1 commit into
aws:mainfrom
nvasiu:add-subtypes
Closed

feat(sdk): Add subtypes for Step, Wait, Callback and Invoke operations#404
nvasiu wants to merge 1 commit into
aws:mainfrom
nvasiu:add-subtypes

Conversation

@nvasiu

@nvasiu nvasiu commented May 25, 2026

Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue Link, if available

#396

Description

Added new OperationSubType values for all operation types that were missing them (step, wait, callback and invoke). And pass these values when creating operations in DurableContextImpl.

ChildContextOperation explicitly checks for unreachable subtypes. Updated ChildContextOperation to check for the new subtype values.

Updated the tests for the above operations that check the subtype to use these new subtype values.

Updated LocalMemoryExecutionClient.applyResult to preserve subtype when updating an operation. Previously the subtype value was not passed on to the updated operation, causing test failures.

Demo/Screenshots

Checklist

  • I have filled out every section of the PR template
  • I have thoroughly tested this change

Testing

Unit Tests

Have unit tests been written for these changes? Updated Tests

Integration Tests

Have integration tests been written for these changes? Updated Tests

Examples

Has a new example been added for the change? (if applicable) N/A

@nvasiu nvasiu requested a review from a team May 25, 2026 23:44
Added new OperationSubType values for all operation types that were
missing them (step, wait, callback and invoke). And pass these values
when creating operations in DurableContextImpl.

ChildContextOperation explicitly checks for unreachable subtypes.
Updated ChildContextOperation to check for the new subtype values.

Updated the tests for the above operations that check the subtype to
use these new subtype values.

Updated LocalMemoryExecutionClient.applyResult to preserve subtype
when updating an operation. Previously the subtype value was not
passed on to the updated operation, causing test failures.
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