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:
TATSUNO “Taz” Yasuhiro authored and GitHub committed 2026-11-14 01:10:32 -04:00
1 parent cb03bc373b
commit ff5b6df114
5 files changed
+83 -8

No files matched your search

+4
View File
@@ -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