Matthew Suozzo
Matthew Suozzo
hmm so hitting the graphql interface through the CLI with the query it seems the Finder is running under the covers indeed yields the BLOCKED status: ``` $ gh api...
The PR endpoint is also serving this value: ``` $ gh api repos/$OWNER/$REPO/pulls/$PR | jq .mergeable_state "blocked" ```
So I guess the PR is just stuck in that state? From this, I'd suspect this is not an issue with the CLI but with the API. That said, I...
Gotcha. `gh pr checks` showed all green (same as UI) when `mergeable_state` was stuck at blocked. I'm waiting for it to happen again and will link it here when it...
It recurred a week or so after the initial occurrence but I've yet to reproduce it since. Hopefully it was just a transient issue but, in any case, I'll keep...
> Any chance you saw this again @msuozzo? Okay @williammartin just hit this again: https://github.com/google/oss-rebuild/pull/84 ``` $ gh version gh version 2.46.0 (2024-03-26 Debian 2.46.0-1) https://github.com/cli/cli/releases/tag/v2.46.0 $ gh pr checks...
> what scope are available with `gh auth status`? ``` $ gh auth status - Token scopes: 'admin:public_key', 'gist', 'read:org', 'repo' ``` > Could you capture and share debug information...
> I'd be curious to see if you receive the same results from ☝ this call. I don't! But there are only 2 diffs and I'm not sure they're helpful:...
Any theories? Anything else I can generate to help with debugging?
Okay so I think another header is actually relevant. `X-Oauth-Scopes` only relates to what I provided to the endpoint while `X-Accepted-Oauth-Scopes` is what the server actually used/accepted from that provided...