(output)
| 91 | } |
| 92 | |
| 93 | function classifySmokeFailure(output) { |
| 94 | const normalized = String(output ?? "").toLowerCase(); |
| 95 | if (INFRA_ERROR_PATTERNS.some((pattern) => pattern.test(normalized))) { |
| 96 | return "infra_error"; |
| 97 | } |
| 98 | |
| 99 | return "fail"; |
| 100 | } |
| 101 | |
| 102 | function ensureDirectory(dirPath) { |
| 103 | fs.mkdirSync(dirPath, { recursive: true }); |
no outgoing calls
no test coverage detected