Commit 640d4e6
[feat][DurableContext] Use a blake2 to generate step_id
Feature:
- Replaces existing mechanism to produce durable operation ids with
Test Changes:
- Instead of testing manually the steps, we a/ produce a generator so
that we can rely on next(_) to get the sequence
- We verify invariance over behaviour:
- deterministic execution
- identical generation for every new context
- parent step id participates in the generation
Signed-off-by: Astraea Sinclair <[email protected]>1 parent b5496ca commit 640d4e6
File tree
4 files changed
+227
-38
lines changed- src/aws_durable_execution_sdk_python
- tests
- e2e
4 files changed
+227
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
223 | | - | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
0 commit comments