aws / aws/aws-durable-execution-sdk-python

[Testing] Implement WAIT operation cancellation (optional)

未关闭
#453 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
pkg:testing
主要语言
Python
星标
53
派生
25
平均合并
1 天 19 小时
30 天内合并 PR
40

描述

Migration from https://github.com/aws/aws-durable-execution-sdk-python-testing/issues/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.

贡献指南

打开贡献指南

调研方向

从 src/aws_durable_execution_sdk_python_testing/checkpoint/processors/wait.py 第 75 行附近开始,跟踪 WAIT 操作和计时器的处理方式。检查现有的取消流程,并确定已完成或无效的取消请求是如何表示的。涵盖列出的取消、错误处理和取消后执行标准,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend, testing
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。