Files
felhom.eu/documentation/audits/readback-2026-10-07/F/red-oom-pass.txt
T

34 lines
1.5 KiB
Plaintext

R-528 red-proof red-oom-pass: the docker apply no longer runs the check (the key line in run() removed)
mutation: replace
---
self.report["oom_check"] = self.oom_check()
return 0
---
with
---
pass
return 0
---
$ OSAPPLY_UNDER_TEST=/tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/r528-mut/red-oom-pass-felhom-os-apply python3 -W ignore /tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py OOMCheck.test_pass_when_oomkilled_and_the_event
rc=1
E
======================================================================
ERROR: test_pass_when_oomkilled_and_the_event (__main__.OOMCheck.test_pass_when_oomkilled_and_the_event)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py", line 1217, in test_pass_when_oomkilled_and_the_event
oc = rep["oom_check"]
~~~^^^^^^^^^^^^^
KeyError: 'oom_check'
----------------------------------------------------------------------
Ran 1 test in 0.014s
FAILED (errors=1)
=== control: the same test against the real wrapper ===
$ python3 -W ignore /tmp/claude-1000/-mnt-5-hdd-felhom-eu-git/da0e2df0-3072-4d3e-bf10-c475ac1e5ae4/scratchpad/agent-r528/configs/test_felhom_os_apply.py OOMCheck.test_pass_when_oomkilled_and_the_event
rc=0
OK
VERDICT: RED as expected, GREEN on the real wrapper