MCPcopy Create free account
hub / github.com/alibaba/open-code-review / successRes

Function successRes

scripts/github-actions/post-review-comments.test.js:183–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 ops.push({ type: "createReview", params });
182 const callIdx = createReviewCalls.length - 1;
183 const successRes = () => ({ data: {}, headers: { "x-ratelimit-remaining": successRemaining() } });
184 // Discriminate batch vs per-comment by body, NOT callIdx. Under
185 // multi-batch (N < toSend.length) several batch calls precede the
186 // per-comment fallbacks, so callIdx === 0 is unsound. Batch calls

Callers 1

makeGithubFunction · 0.85

Calls 1

successRemainingFunction · 0.85

Tested by

no test coverage detected