Opened 4 years ago
Last modified 3 years ago
#5749 new defect (bug)
GitHub integration: Showing "All checks pass" on failing PR
Reported by: | ryelle | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | |
Cc: |
Description
The issue was seen on https://core.trac.wordpress.org/ticket/53246 — the action checks failed, but the UI in trac reported the PR as "All checks pass".
I haven't investigated to see if this is working on other tickets.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(This is a note for myself, and any others who look at it, mostly thinking out loud)
Before opening the trac ticket up, I looked at the cached data:
After loading the ticket, I saw
And I can now see the cached data is updated to be
At a guess, I'm thinking an API request to GitHub may have timed out, resulting in no
check_runs
being cached, resulting in an all-checks-pass?Having no
check_runs
is expected for some PRs, for example to WordPress/wordpress.org, but not for core trac. But havingAll checks pass
withoutcheck_runs
doesn't make sense, until you consider that for meta it shows whether it can be merged or not (even tho we don't merge PRs on GitHub)