spr
spr copied to clipboard
spr list (and land) PR statuses are always PENDING
I opened pull request using spr diff, spr list / land detects the status of the PR as pending even though it's already approved. The repo is an organization repo
I cloned the repo and try to put some dbg!
statements
Request
[spr/src/commands/list.rs:28] format!("repo:{}/{} is:open is:pr author:@me archived:false", config.owner,
config.repo) = "repo:clockwisehq/services is:open is:pr author:@me archived:false"
query SearchQuery($query: String!) {
search(query: $query, type: ISSUE, first: 100) {
nodes {
__typename
... on PullRequest {
number
title
url
reviewDecision
}
}
}
}
Response
&response_body = Response {
data: Some(
ResponseData {
search: SearchQuerySearch {
nodes: Some(
[
Some(
PullRequest(
SearchQuerySearchNodesOnPullRequest {
number: 5511,
title: "[AI-1016] Send OOO information to Rust defrag",
url: "https://github.com/<REMOVED>/services/pull/5511",
review_decision: None,
},
),
),
Some(
PullRequest(
SearchQuerySearchNodesOnPullRequest {
number: 5508,
title: "[AI-910] sync rust defrag schema",
url: "https://github.com/<REMOVED>/services/pull/5508",
review_decision: None,
},
),
),
Some(
PullRequest(
SearchQuerySearchNodesOnPullRequest {
number: 5410,
title: "Add ooo for scheduler input",
url: "https://github.com/<REMOVED>/services/pull/5410",
review_decision: None,
},
),
),
Some(
PullRequest(
SearchQuerySearchNodesOnPullRequest {
number: 5319,
title: "first pass, create subclasses of movable events",
url: "https://github.com/<REMOVED>/services/pull/5319",
review_decision: None,
},
),
),
],
),
},
},
),
errors: None,
extensions: None,
}
Token Settings
Pending From SPR list
Browsing PR status
gh pr view 5508
any pointers / suggestions on how to debug this further would be awesome :)