Skip to content

Conversation

@yaythomas
Copy link
Member

Issue #, if available:

Description of changes:
Include integration testing with
BREAKING CHANGE: wait_for_callback submitter signature changed from
submitter(callback_id: str) to submitter(callback_id: str, context:
WaitForCallbackContext)

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

BREAKING CHANGE: wait_for_callback submitter signature changed from
submitter(callback_id: str) to submitter(callback_id: str, context:
WaitForCallbackContext)

The WaitForCallbackContext provides access to a logger, enabling
submitter functions to log operations consistently with other SDK
operations like step and wait_for_condition.

This change aligns the wait_for_callback API with other context-aware
operations in the SDK, improving consistency and extensibility.

- Add WaitForCallbackContext type with logger field
- Update wait_for_callback_handler to pass context to submitter
- Update all callback tests to use new submitter signature
- Add test coverage for context parameter validation
@yaythomas yaythomas requested a review from wangyb-A as a code owner December 1, 2025 21:11
@yaythomas yaythomas closed this Dec 2, 2025
@wangyb-A wangyb-A deleted the cherry-pick-submitter-with-integration-tests branch December 9, 2025 22:31
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.

3 participants