Skip to content

fix: StopDurableExecution should return idempotent response#195

Merged
yaythomas merged 1 commit intomainfrom
fix/stop-execution-idempotency
Feb 11, 2026
Merged

fix: StopDurableExecution should return idempotent response#195
yaythomas merged 1 commit intomainfrom
fix/stop-execution-idempotency

Conversation

@bchampp
Copy link
Member

@bchampp bchampp commented Feb 11, 2026

Issue #, if available:

Description of changes:
Fixing a bug where we're incorrectly returning an error that says Execution XYZ has already been completed when calling StopDurableExecution on an already completed execution.

The API is idempotent - we should be returning the 200 response with StopTimestamp.

Dependencies

If this PR requires testing against a specific branch of the Python Language SDK (e.g., for unreleased changes), uncomment and specify the branch below. Otherwise, leave commented to use the main branch.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bchampp
Copy link
Member Author

bchampp commented Feb 11, 2026

🤖 Emulator PR Created

A draft PR has been created with locked dependencies:

➡️ https://github.com/aws/aws-durable-execution-emulator/pull/347

The emulator will build binaries using the exact testing SDK commit locked in uv.lock.

@bchampp bchampp marked this pull request as ready for review February 11, 2026 20:56
@yaythomas yaythomas merged commit 5e184cb into main Feb 11, 2026
42 of 59 checks passed
@yaythomas yaythomas deleted the fix/stop-execution-idempotency branch February 11, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants