aws / aws/aws-durable-execution-sdk-python

[Testing] Enhance get_assertable_operations method

Open
#456 0 comments 0 reactions 0 assignees View on GitHub
pkg:testing
Dominant language
Python
Stars
53
Forks
25
Avg merge
1d 20h
Merged PRs (30d)
39

Description

Migration from https://github.com/aws/aws-durable-execution-sdk-python-testing/issues/48

---

## Context
Add logic to handle optional EXECUTION operation at end of execution

## Technical Requirements
- Add logic to handle optional EXECUTION operation at end of execution
- Implement proper detection of final EXECUTION operations with large payloads
- Add context-aware inclusion/exclusion of final EXECUTION operations
- Ensure immutability of original execution state

## Implementation Details
- **File**: `src/aws_durable_execution_sdk_python_testing/execution.py:111`

## Acceptance Criteria
- [ ] Logic added to handle optional EXECUTION operation at end of execution
- [ ] Proper detection implemented for final EXECUTION operations with large payloads
- [ ] Context-aware inclusion/exclusion added for final EXECUTION operations
- [ ] Immutability of original execution state ensured

Contributor guide

Open the contributing guide

Research direction

Start in src/aws_durable_execution_sdk_python_testing/execution.py at get_assertable_operations, then inspect how its execution context determines the final operation. Implement the optional final EXECUTION handling, including large payloads and context-aware inclusion or exclusion, while preserving the original execution state; the acceptance criteria define when the work is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.