Skip to content

[Testing] Implement WAIT operation cancellation (optional) #453

@dhegberg

Description

@dhegberg

Migration from aws/aws-durable-execution-sdk-python-testing#51


Context

Add WAIT operation cancellation support

Technical Requirements

  • Add WAIT operation cancellation support
  • Implement timer cancellation when WAIT is cancelled
  • Handle cancellation of already completed operations
  • Add proper error handling for invalid cancellation requests
  • Ensure execution continues properly after WAIT cancellation

Implementation Details

  • File: src/aws_durable_execution_sdk_python_testing/checkpoint/processors/wait.py:75

Acceptance Criteria

  • WAIT operation cancellation support added
  • Timer cancellation implemented when WAIT is cancelled
  • Cancellation of already completed operations handled
  • Proper error handling added for invalid cancellation requests
  • Execution continues properly after WAIT cancellation ensured

Note: This is marked as optional in the original document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testing-sdkIssues related to the AWS Durable Execution Testing SDK

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions