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

[Testing] Implement WAIT operation cancellation (optional)

オープン
#453 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
pkg:testing
主要言語
Python
スター
53
フォーク
25
平均マージ
1日 20時間
マージ済み PR(30日)
39

説明

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 を短くまとめたダイジェスト。