github-api
github-api copied to clipboard
GHRepository.getLastCommitStatus() reads all statuses to find last status
https://github.com/github-api/github-api/blob/bccae94c7a740fa7ba297fd6eb2a6782ed156a98/src/main/java/org/kohsuke/github/GHRepository.java#L1771-L1774
This is fine for a few pages, but bad beyond three pages.
This points to a need for last(), first(), count(), and other methods to be added to PagedIterable or better PagedIterator.