MCPcopy
hub / github.com/openclaw/clawsweeper / prCloseCoverageProofFailureIsTerminal

Function prCloseCoverageProofFailureIsTerminal

src/repair/apply-result.ts:1009–1012  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

1007}
1008
1009function prCloseCoverageProofFailureIsTerminal(error: unknown): boolean {
1010 const text = error instanceof Error ? error.message : String(error);
1011 return /\b(?:issue|pull) not found: #\d+\b/i.test(text) || /\bHTTP 404\b/i.test(text);
1012}
1013
1014function validatePrCloseCoverageCoveringFreshness({
1015 result,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected