mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +00:00
The doctor cancellation fixture wrote its readiness JSON with writeFileSync, which truncates and then writes. The test polls only for the file's existence, so a read between the two steps parsed an empty file and failed with "Unexpected end of JSON input" (main run 43604752864, PR run 43606296871). Write to a pending path and rename it into place, as ghidraJavaDoctor and darwinProcessRunTokenReader fixtures already do. Apply the same fix to the two sibling fixtures that poll for a PID file's existence and then parse it: jadxConfiguration and runnerCancellation, where an empty read becomes PID 0.