[Bug] GitHub API - List workflow runs returns 0 runs even though there are runs #24626
-
Trying to use the API or the UI to get workflow runs for a specific branch returns no results. In the UI, when going to Actions on a repo and filtering by branch shows an error message on top of the page Using the API and the following endpoint:
Returns the following even though I can clearly see the run through the pull request UI, or when in the Actions UI and not filtering by branch.
|
Beta Was this translation helpful? Give feedback.
Replies: 27 comments 5 replies
-
I have the same problem on my side in a private repository. If you call Also, it seems to work when filtering on older branch, but not on the new ones. I tried using curl and the octokit from |
Beta Was this translation helpful? Give feedback.
-
Am seeing a similar issue, i need the
|
Beta Was this translation helpful? Give feedback.
-
I get this as well, but only for branches created the last couple of days. |
Beta Was this translation helpful? Give feedback.
-
Same problem although with |
Beta Was this translation helpful? Give feedback.
-
Seems like it’s resolved now |
Beta Was this translation helpful? Give feedback.
-
I have a public repo where this is happening. If I list all workflow runs for a workflow without any query parameters, it returns fine. But if I try to query with a parameter, I always get a 404. Currently using the GH CLI, but also happens in GH Actions. |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem - for example: curl -i -s -S -H “Accept: application/vnd.github.v3+json” “https://api.github.com/repos/ovsrobot/ovs/actions/runs?branch=series_294442” vs. curl -i -s -S -H “Accept: application/vnd.github.v3+json” “https://api.github.com/repos/ovsrobot/ovs/actions/runs?branch=series_294634” I am not sure how to proceed |
Beta Was this translation helpful? Give feedback.
-
it’s still happening, how is this resolved? |
Beta Was this translation helpful? Give feedback.
-
Hello, I have the same issue on one of my repo, when I list all runs I can see the one I’m looking for : “https://api.github.com/repos/astrelya/REPO/actions/runs” but when I specify the branch “https://api.github.com/repos/astrelya/REPO/actions/runs?branch=XXX” I get total_count: 0. EDIT : when I request with parameter actor=astrelya I don’t get all of the runs neither. Thanks. |
Beta Was this translation helpful? Give feedback.
-
In the GitHub UI, simply filtering (e.g.
|
Beta Was this translation helpful? Give feedback.
-
We are also seeing this. We are getting inconsistent results from filters. An existing query that has not been modified for months is now returning stale data. |
Beta Was this translation helpful? Give feedback.
-
We also have the above described problems when using filters. This bug is marked as solved but it seems to be again open. Is there a way to mark it accordingly here ? |
Beta Was this translation helpful? Give feedback.
-
Same here, this started to happen somewhen in the past few days, and caused one of our jobs to go rogue and use up all of our “free” GH action minutes during the night until we could stop it 😭 |
Beta Was this translation helpful? Give feedback.
-
Also seeing this issue when querying the workflow runs with a branch name specified. Thus far it has not been working for 3 days. |
Beta Was this translation helpful? Give feedback.
-
This is still affecting us, not resolved. |
Beta Was this translation helpful? Give feedback.
-
I am also having issues still with this endpoint. When filtering for the branch with
However, when I just call the
|
Beta Was this translation helpful? Give feedback.
-
This is what Github support told me: On Monday, the search functionality with Actions experienced a breaking error. A fix was implemented soon after the break to address the underlying issue, but now search is being re-indexed which can take up to a few days. While this is happening, un-filtered searches for all workflows and specific workflows are working as expected still, but any filtering on those results is broken at this time. This is impacting filtering both through the UI and API. We are closely tracking the re-indexing, and I will follow-up here again once it has completed and search is functioning as expected. In the meantime, please let me know if there is anything further you would like to discuss. Thanks! |
Beta Was this translation helpful? Give feedback.
-
+1 to this issue We’re still seeing issues when filtering by |
Beta Was this translation helpful? Give feedback.
-
same here:
returns an 8 day old run as first entry without branch I get the newer results. I am using GitHub - dawidd6/action-download-artifact: A GitHub Action to download an artifact associated with given workflow and commit or other criteria to download a terraform plan artifact from a separate workflow and it currently downloads a stale terraform plan and apllying doesn’t work 🙃 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@rajbos We are also facing a similar issue for the last 3 days.
Can anyone please guide where to report this issue? Also, we are having enterprise license. |
Beta Was this translation helpful? Give feedback.
-
Seeing the same issue as mentioned in https://github.com/orgs/community/discussions/24626#discussioncomment-5690204 - specifically for filters with |
Beta Was this translation helpful? Give feedback.
-
Agreed this has recently become an issue for all |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
same here, with |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing a similar issue. I'm trying to collect monthly usage for a specific job, but requests for workflow runs for page 11 or higher return zero results; that's despite the |
Beta Was this translation helpful? Give feedback.
-
I'm facing an issue with using I opened a bug report here: #86766 |
Beta Was this translation helpful? Give feedback.
Seems like it’s resolved now