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

Function prCloseCoverageCoveringUpdatedAt

src/repair/apply-result.ts:1080–1086  ·  view source on GitHub ↗
(repo: string, number: JsonValue)

Source from the content-addressed store, hash-verified

1078}
1079
1080function prCloseCoverageCoveringUpdatedAt(repo: string, number: JsonValue): string | null {
1081 const pull = fetchPullRequest(repo, number);
1082 const pullUpdatedAt = stringOrNull(pull.updated_at ?? pull.updatedAt);
1083 if (pullUpdatedAt) return pullUpdatedAt;
1084 const issue = fetchIssue(repo, number);
1085 return stringOrNull(issue.updated_at ?? issue.updatedAt);
1086}
1087
1088function validatePrCloseCoverageCoveringSafety({
1089 result,

Calls 3

fetchPullRequestFunction · 0.70
stringOrNullFunction · 0.70
fetchIssueFunction · 0.70

Tested by

no test coverage detected