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
{{ message }}
Repository navigation
Scripts: the testing feed skips PRs whose checks failed before and pass now #3246
@raylitebull, the testing feed (testing-feed.yml → scripts/triage_pr.py build-feed) leaves out PRs whose current checks are all green when an earlier run of a check on the same head commit failed or was cancelled.
Cause
cmd_build_feed starts from a search with status:success (scripts/triage_pr.py, added in 954cd69). GitHub's status: qualifier counts every check run on the head commit, including runs that a later run of the same check superseded. A PR whose PR description check failed and passed again after the description was edited therefore stays status:failure in search, so it never reaches the script's own gate check. That check (extract_gate_statuses, the latest run per check name) would let it through, and GitHub's own statusCheckRollup reports SUCCESS for these commits.
Both are open, not drafts, based on main, mergeable (CLEAN), have no duplicate / off-goal label and no merge-check comments, and are missing from queue.json (generated 2026-11-28T23:36:21Z).
GraphQL statusCheckRollup.state of both head commits → SUCCESS
A PR in the feed for comparison, #2684, has only successful runs on its head commit.
Possible fix
Drop status:success from the search in cmd_build_feed. The script already checks Build and test (Windows, no GPU) and PR description itself, on the latest run of each. It costs more search pages, about 400 open PRs against 82 that pass the gates now. Rerunning the failed runs works around it for a single PR, but every PR whose first description check fails drops out the same way.
AI use: Claude Code (Claude Opus 5.5) found the cause from the workflow, the script on main and the GitHub API, and wrote this issue.
Fixed on main by fa20459 ("Scripts: drop lagging status:success search filter so new green PRs appear immediately"): cmd_build_feed no longer searches with status:success and gates on the latest run of each check. #2955 and #2070, the two examples above, have been in queue.json's items since. Regression tests for the search are in #3272.
AI use: Claude Code (Claude Opus 5.5) checked the script on main and the feed, and wrote this comment.
Activity
Scripts: end-to-end test of build-feed against a fake GitHub
Scripts: regression tests for build-feed search without status:success
Scripts: end-to-end test of build-feed against a fake GitHub
thisguyStan commentedon Nov 29, 2026
Fixed on
mainby fa20459 ("Scripts: drop lagging status:success search filter so new green PRs appear immediately"):cmd_build_feedno longer searches withstatus:successand gates on the latest run of each check. #2955 and #2070, the two examples above, have been inqueue.json'sitemssince. Regression tests for the search are in #3272.AI use: Claude Code (Claude Opus 5.5) checked the script on
mainand the feed, and wrote this comment.