Skip to content

feat(testing-sdk): add execution history event generation and pagination#68

Closed
rarepolz wants to merge 1 commit into
mainfrom
executor-event-history
Closed

feat(testing-sdk): add execution history event generation and pagination#68
rarepolz wants to merge 1 commit into
mainfrom
executor-event-history

Conversation

@rarepolz
Copy link
Copy Markdown
Contributor

@rarepolz rarepolz commented Oct 20, 2025

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

  • Added factory methods in event class to transform operations into events
  • Update executor get_execution_history with proper cursor-based pagination, using the new factory methods
  • Support reverse_order and include_execution_data options
  • Add comprehensive test coverage for operation->event conversion and pagination

Dependencies

If this PR requires testing against a specific branch of the Python Language SDK (e.g., for unreleased changes), uncomment and specify the branch below. Otherwise, leave commented to use the main branch.

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

@rarepolz rarepolz force-pushed the executor-event-history branch 3 times, most recently from 9264cd3 to d6e073c Compare October 20, 2025 15:58
Comment thread src/aws_durable_execution_sdk_python_testing/event_conversion.py Outdated
@rarepolz rarepolz force-pushed the executor-event-history branch from d6e073c to d22b410 Compare October 24, 2025 18:24
@rarepolz rarepolz changed the title feat: add execution history event generation and pagination feat(sdk): add execution history event generation and pagination Oct 24, 2025
@rarepolz rarepolz changed the title feat(sdk): add execution history event generation and pagination feat(testing-sdk): add execution history event generation and pagination Oct 24, 2025
@rarepolz rarepolz closed this Oct 24, 2025
@rarepolz rarepolz reopened this Oct 24, 2025
@rarepolz rarepolz marked this pull request as ready for review October 24, 2025 18:28
@rarepolz rarepolz requested a review from yaythomas October 24, 2025 18:28
@rarepolz rarepolz force-pushed the executor-event-history branch from d22b410 to 77d0615 Compare October 24, 2025 18:33
@rarepolz rarepolz closed this Oct 29, 2025
@rarepolz rarepolz reopened this Oct 29, 2025
@rarepolz rarepolz force-pushed the executor-event-history branch from 77d0615 to 4a66a47 Compare October 29, 2025 18:30
Comment thread src/aws_durable_execution_sdk_python_testing/executor.py Outdated
Comment thread src/aws_durable_execution_sdk_python_testing/executor.py Outdated
Comment thread src/aws_durable_execution_sdk_python_testing/executor.py
Comment thread src/aws_durable_execution_sdk_python_testing/model.py Outdated
@rarepolz rarepolz force-pushed the executor-event-history branch from 4a66a47 to bea3c93 Compare October 30, 2025 12:30
- Add event_conversion module to transform operations into history events
- Implement operation_to_started_event and operation_to_finished_event
- Add generate_execution_events for complete execution history
- Update executor get_execution_history with proper cursor-based pagination
- Support reverse_order and include_execution_data options
- Add comprehensive test coverage for event conversion and pagination
@rarepolz rarepolz force-pushed the executor-event-history branch from bea3c93 to d47abc9 Compare October 30, 2025 14:47
@rarepolz rarepolz closed this Oct 30, 2025
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 execution history in executor

3 participants