Commit 4d352ef
docs(init): document the deliberate dual shape of init error payloads
Runtime-reported error payloads include a blank "requestId" (and
possibly an empty "stackTrace") on AWS, while platform-synthesized
payloads (Sandbox.Timedout, Runtime.ExitError) carry neither — both
validated by localstack-pro's AWS snapshots. Spell this out on
lsapi.ErrorResponse and adaptInitErrorPayload so the asymmetry between
the two ReportInitFailure paths is not mistaken for a bug and unified.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent fc4092e commit 4d352ef
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
291 | 295 | | |
292 | 296 | | |
293 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
| |||
0 commit comments