sapling icon indicating copy to clipboard operation
sapling copied to clipboard

[ISL] gh graphql fail to get "statusCheckRollup" of a commit

Open nicktogo opened this issue 1 year ago • 3 comments

When ISL is running graphql YourPullRequestsQuery, it gets error:

{"type":"FORBIDDEN","path":["search","nodes",0,"commits","nodes",0,"commit","statusCheckRollup"],"extensions":{"saml_failure":false},"locations":[{"line":36,"column":15}],"message":"Resource not accessible by integration"}

perhaps that's some permission change in my company repo, but this error breaks the ISL just for not getting the state, can we gracefully handle such error?

nicktogo avatar Dec 09 '24 23:12 nicktogo

Image

I get similar issue, statusCheckRollup == 'SUCCESS' yet my test signals are undefined.

julio-cernadas avatar Dec 11 '25 14:12 julio-cernadas

actually deleting all stale PR branches (including the sapling-pr one) fixed the problem for me! thanks FB team!

Image

julio-cernadas avatar Dec 11 '25 17:12 julio-cernadas

Image

Actually looking further into it, I think it's just pulling the status of first commit in the stack, i.e as soon as I commit, it shows up as green check marked, despite that commit's status being PENDING

julio-cernadas avatar Dec 12 '25 15:12 julio-cernadas