MCPcopy Create free account
hub / github.com/github/awesome-copilot / classifySmokeFailure

Function classifySmokeFailure

eng/external-plugin-quality-gates.mjs:93–100  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

91}
92
93function 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
102function ensureDirectory(dirPath) {
103 fs.mkdirSync(dirPath, { recursive: true });

Callers 1

runInstallSmokeGateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected