Skip to content

Set wait_for_callback context subtype#476

Merged
yaythomas merged 1 commit into
aws:mainfrom
kiwigitops:fix-wait-for-callback-subtype
Jun 17, 2026
Merged

Set wait_for_callback context subtype#476
yaythomas merged 1 commit into
aws:mainfrom
kiwigitops:fix-wait-for-callback-subtype

Conversation

@kiwigitops

Copy link
Copy Markdown
Contributor

Summary

  • pass a WAIT_FOR_CALLBACK subtype when wait_for_callback() creates its wrapper context
  • assert the subtype is forwarded in the existing context tests

Validation

  • PYTHONPATH=packages/aws-durable-execution-sdk-python/src;packages/aws-durable-execution-sdk-python python -m pytest packages/aws-durable-execution-sdk-python/tests/context_test.py -k wait_for_callback -q

Closes #409

@yaythomas yaythomas self-assigned this Jun 17, 2026
@kiwigitops kiwigitops force-pushed the fix-wait-for-callback-subtype branch from f5ab161 to 2b33d5d Compare June 17, 2026 00:16

@yaythomas yaythomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thank you so much @kiwigitops, great work! 🙇

@yaythomas yaythomas merged commit cd51a60 into aws:main Jun 17, 2026
6 of 66 checks passed
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.

[Bug]: context for wait_for_callback doesn't have the expected subtype WAIT_FOR_CALLBACK

2 participants