You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it("should retry addLabels on race condition and warn after all retries exhausted",async()=>{
1183
1183
// GitHub API transiently fails to resolve the PR node ID immediately after creation.
1184
-
// withRetry retries 3 times (4 total calls); after exhaustion it should warn but NOT fall back to an issue.
1184
+
// withRetry retries 5 times (6 total calls); after exhaustion it should warn but NOT fall back to an issue.
1185
1185
vi.useFakeTimers();
1186
1186
try{
1187
1187
global.github.rest.issues.addLabels.mockRejectedValue(newError("Validation Failed: Could not resolve to a node with the global id of 'PR_kwDOPc1QR87OOJzM'."));
0 commit comments