aws / aws/aws-durable-execution-sdk-python
[Testing] Implement WAIT operation cancellation (optional)
- Ngôn ngữ chính
- Python
- Star
- 53
- Fork
- 25
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 40
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với src/aws_durable_execution_sdk_python_testing/checkpoint/processors/wait.py tại khoảng dòng 75 và theo dõi cách các thao tác WAIT và bộ hẹn giờ được xử lý. Xem xét luồng hủy hiện có và xác định cách các yêu cầu hủy đã hoàn tất hoặc không hợp lệ được biểu diễn. Công việc được xem là hoàn tất khi các tiêu chí về hủy, xử lý lỗi và thực thi sau khi hủy được liệt kê đã được bao phủ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend, testing
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100