mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
Non-UTF-8 bytes in captured test output cause Execute() to raise UnicodeDecodeError. CI reports can then attribute the failure to an earlier, expected "Error: uncaught" message from a passing cctest. Replace malformed UTF-8 in stdout and stderr so the runner reports test results while preserving the child process exit status. Refs: https://github.com/nodejs/reliability/blob/main/reports/2026-10-16.md Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/66783 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>