Skip to content

[bugfix]: handle large input and empty initial operations#112

Merged
zhongkechen merged 4 commits intomainfrom
large_input
Feb 23, 2026
Merged

[bugfix]: handle large input and empty initial operations#112
zhongkechen merged 4 commits intomainfrom
large_input

Conversation

@zhongkechen
Copy link
Contributor

@zhongkechen zhongkechen commented Feb 20, 2026

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

Fix: #73

Similar issue in JS SDK aws/aws-durable-execution-sdk-js#445

Description

  • read EXECUTION operation from lambda input

  • if the operations in the input don't contain the EXECUTION operation, read it from GetExecutionState API

  • fix an issue in local runner when checking large output

Demo/Screenshots

image
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.amazonaws.lambda.durable.examples.CloudBasedIntegrationTest

[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.8 s -- in com.amazonaws.lambda.durable.examples.CloudBasedIntegrationTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0

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? Yes

Integration Tests

Have integration tests been written for these changes? Yes

Examples

Has a new example been added for the change? (if applicable) Yes

@zhongkechen zhongkechen self-assigned this Feb 20, 2026
@zhongkechen zhongkechen marked this pull request as ready for review February 20, 2026 15:29
@zhongkechen
Copy link
Contributor Author

Failed childContext test cases have been fixed in another PR #111

Error:  Failures: 
Error:    ChildContextIntegrationTest.twoAsyncChildContextsBothWaitSuspendAndResume:260 expected: <SUCCEEDED> but was: <PENDING>
Error:    ChildContextIntegrationTest.waitInsideChildContextReturnsPendingThenCompletes:225 expected: <SUCCEEDED> but was: <PENDING>

@zhongkechen zhongkechen merged commit d9ef38e into main Feb 23, 2026
7 of 13 checks passed
@zhongkechen zhongkechen deleted the large_input branch February 23, 2026 19:32
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.

[Bug]: empty operations in the Lambda inputs

2 participants