Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 2

REST v3 API combined status for a specific ref always returning as pending for certain repositories

I'm trying to use the combined status ref described here but am noticing descrepancies between what the API returns and what's displayed on GitHub.com's UI.

 

For example, for https://api.github.com/repos/xtermjs/xterm.js/commits/a35cd4339584f48edb4aa2305a6621246ca5b61c/statu..., the response comes back with `"state": "pending"` and an empty array of statuses, yet the web UI clearly shows that there are 4 succeeding checks for this commit:

Screen Shot 2019-02-22 at 11.08.11 AM.png

(https://github.com/xtermjs/xterm.js/pull/1950)

 

I'm seeing this for every commit in this repository, so it's not just that there's a delay in status reporting. I don't see this for other repositories I've tried. The repo in question is public.

1 Reply
Highlighted
Community Manager
Message 2 of 2

Re: REST v3 API combined status for a specific ref always returning as pending for certain repositor

Hi @RMacfarlane,

 

Thanks for being here! Our apologies for the delay. Could you please send us the full output of a `curl -v` request that demonstrates the problem?
 
http://curl.haxx.se/
 
That should help us investigate the issue. Also, please make sure you mask any sensitive information like OAuth tokens and Authorization headers in the output of the curl command. Please send the output to https://github.com/contact. And include a link to this thread to give support some background on the ticket.
 
I hope this helps!
 
Best,
Andrea


I hope this helps,
Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!