Skip to content

test: update expected error message for nonexistent durable execution - #9365

Merged
seshubaws merged 2 commits into
developfrom
fix-durable-execution-not-found-message
Oct 22, 2026
Merged

seshubaws merged 2 commits into
developfrom
fix-durable-execution-not-found-message

Conversation

@seshubaws

@seshubaws seshubaws commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Why is this change necessary?

Nightly integration tests (run 39759452844) fail in tier1-windows-other and local-invoke because the durable execution emulator (:latest) changed its 404 message for missing executions:

  • Old (what the test expects): Execution 00000000-0000-0000-0000-000000000000 not found
  • New (what the emulator now returns): Durable Execution does not exist

Actual stderr captured in the failing run:

Stderr: Error: An error occurred (404) when calling the GetDurableExecution operation: Durable Execution does not exist

How does it address the issue?

Updates the expected message in TestLocalExecution._do_execution_nonexistent_test to the new emulator text (covers get, history, stop, and test_tier1_execution).

Notes

The tier1-finch and local-start-lambda failures in the same run are infra: public.ecr.aws timeouts (Client.Timeout exceeded, i/o timeout) while pulling the Lambda and emulator images. They should pass on rerun and are not addressed here.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The durable execution emulator now returns 'Durable Execution does not exist'
instead of 'Execution <id> not found' for missing executions.
@seshubaws
seshubaws requested a review from a team as a code owner October 22, 2026 22:37

@aws-sam-tooling-bot aws-sam-tooling-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Results

Reviewed: 071b260..fd13795
Files: 1
Comments: 1

Comment thread tests/integration/local/execution/test_execution.py
The durable execution emulator no longer emits RetryDetails on
StepSucceeded events for first-attempt successes.
@seshubaws
seshubaws merged commit b58df88 into develop Oct 22, 2026
100 of 102 checks passed
@seshubaws
seshubaws deleted the fix-durable-execution-not-found-message branch October 22, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants