Skip to content

Ignore PR CI status when GitHub claims that there are no PR CI workflows for the PR - #880

Merged
Kobzol merged 2 commits into
rust-lang:mainfrom
Kobzol:ignore-empty-pr-ci-workflows
Oct 25, 2026
Merged

Kobzol merged 2 commits into
rust-lang:mainfrom
Kobzol:ignore-empty-pr-ci-workflows

Conversation

@Kobzol

@Kobzol Kobzol commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

GitHub has been returning us bogus data (empty PR CI workflows) in certain situations, which was causing bors to misbehave and timing out otherwise valid PRs. This PR works around that issue by not doing anything when we encounter a PR with an empty set of PR CI workflows.

More information can be found in the long comment.

I removed the GitHub API for getting the time of the last push, but kept its test suite mock counterpart.

@Kobzol
Kobzol enabled auto-merge October 25, 2026 12:44
@Kobzol
Kobzol added this pull request to the merge queue Oct 25, 2026
Merged via the queue into rust-lang:main with commit 68c45b6 Oct 25, 2026
6 checks passed
@Kobzol
Kobzol deleted the ignore-empty-pr-ci-workflows branch October 25, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant