()
| 124 | ]; |
| 125 | |
| 126 | const readServerLog = (): string => { |
| 127 | const texts = serverLogCandidates.flatMap((path) => { |
| 128 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: probing which of the two stdout sinks this run uses |
| 129 | try { |
| 130 | return [readFileSync(path, "utf8")]; |
| 131 | } catch { |
| 132 | return []; |
| 133 | } |
| 134 | }); |
| 135 | return texts.join("\n"); |
| 136 | }; |
| 137 | |
| 138 | const decodeReport = Schema.decodeUnknownOption( |
| 139 | Schema.Struct({ |