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

[Testing] Implement WAIT operation cancellation (optional)

Offen
#453 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
pkg:testing
Vorherrschende Sprache
Python
Sterne
53
Forks
25
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
40

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit src/aws_durable_execution_sdk_python_testing/checkpoint/processors/wait.py etwa bei Zeile 75 und verfolge, wie WAIT-Operationen und Timer behandelt werden. Überprüfe den bestehenden Abbruchablauf und ermittle, wie abgeschlossene oder ungültige Abbruchanfragen dargestellt werden. Als abgeschlossen gilt die Arbeit, wenn die aufgeführten Kriterien für Abbruch, Fehlerbehandlung und die Ausführung nach dem Abbruch abgedeckt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend, testing
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.