With the old approach, we had to enumerate all StatusContexts and
CheckRuns to calculate whether a PR has passing or failing CI status.
Using `statusCheckRollup` which is behind the `pe_mobile` feature flag,
this is somewhat simpler because both StatusContexts and CheckRuns are
now behind the same connection.
Additionally, should we decide to *not* show the number of
passing/failing checks, this now approach allows us to consume the
`statusCheckRollup { state }` field and avoid paginated collections
and calculating the "winning" state altogether.
|
||
|---|---|---|
| .. | ||
| completion.go | ||
| completion_test.go | ||
| issue.go | ||
| issue_test.go | ||
| pr.go | ||
| pr_create.go | ||
| pr_create_test.go | ||
| pr_test.go | ||
| root.go | ||
| testing.go | ||