[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.
|
Replies: 30 comments 9 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 |
|
Am seeing a similar issue, i need the
|
|
I get this as well, but only for branches created the last couple of days. |
|
Same problem although with |
|
Seems like it’s resolved now |
|
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. |
|
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 |
|
it’s still happening, how is this resolved? |
|
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. |
|
In the GitHub UI, simply filtering (e.g. |
|
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. |
|
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 ? |
|
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 😭 |
|
Also seeing this issue when querying the workflow runs with a branch name specified. Thus far it has not been working for 3 days. |
|
This is still affecting us, not resolved. |
|
I am also having issues still with this endpoint. When filtering for the branch with
However, when I just call the
|
|
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! |
|
+1 to this issue We’re still seeing issues when filtering by |
|
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 🙃 |
|
@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. |
|
Seeing the same issue as mentioned in https://github.com/orgs/community/discussions/24626#discussioncomment-5690204 - specifically for filters with |
|
Agreed this has recently become an issue for all |
|
Hello, |
|
same here, with |
|
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 |
|
I'm facing an issue with using I opened a bug report here: #86766 |
|
Same issue with check runs api where some checks regardless of their state are not listed all results are in one page |
|
Looks like GitHub has broken this completely, it is reproduced in 100% of cases :-( |
|
We are seeing this again on 2026-09-04, specifically with the server-side Affected query: This is also the query generated by: gh run list --repo BoundaryML/baml --workflow ci.yaml --branch canary --event push --status success --limit 100We tested the filtered endpoint and the same endpoint without Results:
|





Seems like it’s resolved now