Skip to content

feat: support CONTEXT operations in CheckpointedResult.create_from_op…#73

Merged
1 commit merged intomainfrom
context-details
Oct 21, 2025
Merged

feat: support CONTEXT operations in CheckpointedResult.create_from_op…#73
1 commit merged intomainfrom
context-details

Conversation

@rarepolz
Copy link
Contributor

Add handling for OperationType.CONTEXT to extract result and error from context_details. Includes test coverage for all scenarios.

Issue #, if available:
closes #34
Description of changes:

  • Add CONTEXT case handling in CheckpointedResult.create_from_operation method
  • Extract result and error from operation.context_details when available
  • Add comprehensive test coverage for CONTEXT operations including success, error, and edge cases
  • Maintain backward compatibility with existing operation types

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

…eration

Add handling for OperationType.CONTEXT to extract result and error from context_details.
Includes test coverage for all scenarios.
@rarepolz rarepolz marked this pull request as ready for review October 21, 2025 10:59
Copy link
Contributor

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

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

:shipit:

@ghost ghost merged commit 50bc1d4 into main Oct 21, 2025
6 checks passed
@wangyb-A wangyb-A deleted the context-details branch December 9, 2025 22:30
This pull request was closed.
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.

Add ContextDetails to CheckpointedResult.create_from_operation

2 participants