Some checks failed
check / check (push) Has been cancelled
The guard that reports unrecognised POST bodies used batch.every(), which is vacuously true on an empty array, so a POST with body [] was answered 200 [] and escaped the one mechanism whose job is to make unrecognised outbound traffic fail the suite rather than pass silently. Unreachable in practice today, which is exactly the qualifier that stops being true later. The comment explaining the guard also described a mechanism that does not exist: playwright-core decodes a binary body lossily rather than returning null, so such a body reaches the JSON parse as mojibake and is reported by the catch, while only an absent or empty body decodes to null and is reported by the type guard. Both are reported; the comment now describes the two real routes.
20 KiB
20 KiB