(reason: string)
| 166 | clearTimeout(killTimer) |
| 167 | |
| 168 | const fail = (reason: string): never => { |
| 169 | console.error(`smoke-binary: FAIL — ${reason} (exit code ${earlyExitCode}).`) |
| 170 | console.error('--- captured output (truncated to 8KB) ---') |
| 171 | console.error(captured.slice(0, 8 * 1024)) |
| 172 | process.exit(1) |
| 173 | } |
| 174 | |
| 175 | // Negative gate first: a known fatal marker gives us a more specific error |
| 176 | // message than "no boot signal found" would. Both gates would fire on a |