Skip to content

Conversation

@yaythomas
Copy link
Member

Description of changes:
Cherry-picked single commit for WaitForCallback submitter signature change, with the hatch CI runtime pinned to avoid unrelated hatch formatting/linting errors.

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

@yaythomas yaythomas requested a review from wangyb-A as a code owner December 1, 2025 20:46
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
@ketpatel1998 ketpatel1998 force-pushed the cherry-pick-submitter branch from 84ce65f to 088e8ca Compare December 1, 2025 21:28
@yaythomas yaythomas closed this Dec 2, 2025
@wangyb-A wangyb-A deleted the cherry-pick-submitter 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.

2 participants