Commit 9f9d797
test(oom): bump python OOM function to 512 MB to fix flaky metric assertion
The `integration-suite: [oom]` python case failed ~1 run in 3 with
`out_of_memory` count 0 (all other runtimes passing). Datadog logs show
the python function emitted no telemetry at all on failing runs — no
logs and no metric — while the same function emits both on passing runs.
At 256 MB the python3.13 runtime plus the `datadog_lambda` handler shim
leave too little headroom, so when the function OOMs the kernel
OOM-killer intermittently takes the extension too before it can run its
end-of-invocation flush, dropping both logs and the enhanced metric.
Bumping the python function to 512 MB keeps the extension alive to
detect and flush. Detection paths are unchanged: the function still hits
its memory cap and emits `MemoryError`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4b5a7e6 commit 9f9d797
1 file changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments