-
Notifications
You must be signed in to change notification settings - Fork 753
Description
Describe the bug
I have a runner and which was retried 5 times and each runner has almost 25 jobs so when i use
repository.getWorkflowRun(runnerId/workflow_id), it is returning the ghWorkFlowRunner but newWorkFlowRun.listJobs().toList() doesn't have all the retried job info
To Reproduce
Steps to reproduce the behavior:
- Create a PR
- Cancel the first runner
- Retry the runner again and again
- newWorkFlowRun.listJobs().toList() should contain all the jobs irrespective of the retry attemps
Expected behavior
newWorkFlowRun.listJobs().toList() is only returning most recent retried jobs
Desktop (please complete the following information):
- OS: iOS
- Version 1.326
Additional context
Is there any way to get the runner specific to a runner id and retryAttempt.
I have monorepo so repository.queryWorkflowRuns().list() and then filter by runnerId and retry attempt is not feasible for me since we have more than 3000 runners getting executed everyday.