mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 23:59:27 -05:00
fix(lambda): answer DeleteFunction of a durable function with 202 (#8271)
DeleteFunction answered 204 for every function. AWS answers 202 with {}
when it deletes a durable function or a published version of one, and
Floci now does the same. A plain function and a missing version still
answer 204.
This commit is contained in:
1 parent
cb03bc373b
commit
ff5b6df114
5 files changed
+83
-8
No files matched your search
@@ -241,6 +241,8 @@ 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.
|
||||
|
||||
`DeleteFunction` of a durable function or one of its versions answers 202.
|
||||
|
||||
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
|
||||
@@ -286,6 +288,8 @@ Not emulated yet:
|
||||
executions.
|
||||
- The `Lineage` field AWS adds to the trace header.
|
||||
- The per-execution limits of 3,000 operations and 100 MB of persisted payload.
|
||||
- The `Deleting` state AWS shows for about a minute after `DeleteFunction` of a durable function.
|
||||
Floci removes it at once.
|
||||
|
||||
## Code signing configuration pagination
|
||||
|
||||
|
||||
Reference in new issue
Block a user