fix(lambda): leave out the children of a durable context closed without ReplayChildren (#8248)

Floci listed every operation in the invocation event and in
GetDurableExecutionState. AWS leaves out the operations under a child
context closed without ReplayChildren=true, and everything below them.
Both now use one filtered view, and a context closed without
ContextOptions shows ReplayChildren: false. The checkpoint answer is
unchanged.
This commit is contained in:
TATSUNO “Taz” Yasuhiro authored and GitHub committed 2026-11-13 22:37:23 -04:00
1 parent f0de926e02
commit 4313fc5fac
8 files changed
+190 -5

No files matched your search

+3
View File
@@ -238,6 +238,9 @@ other than the `{Status, Result, Error}` envelope fails its execution with
1, 2, 4 and 8 seconds, and then fails the execution with its error. AWS does the same over a few
minutes.
The operations under a child context closed without `ReplayChildren=true` are left out of the
invocation event and `GetDurableExecutionState`, as the API reference describes.
A callback (`createCallback`, `waitForCallback`) gets a callback id that the
`SendDurableExecutionCallback*` APIs complete. Its `TimeoutSeconds` and `HeartbeatTimeoutSeconds`
fail it with `Callback.Timeout` or `Callback.Heartbeat`, and each heartbeat restarts the heartbeat