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

Function prCloseCoverageProofFailureBlock

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

Source from the content-addressed store, hash-verified

1000}
1001
1002function prCloseCoverageProofFailureBlock(error: unknown): PrCloseCoverageProofBlock {
1003 const block = { reason: prCloseCoverageProofFailureReason(error) };
1004 return prCloseCoverageProofFailureIsTerminal(error)
1005 ? block
1006 : { ...block, requeue_required: true };
1007}
1008
1009function prCloseCoverageProofFailureIsTerminal(error: unknown): boolean {
1010 const text = error instanceof Error ? error.message : String(error);

Tested by

no test coverage detected