This question came up on zulip: the review queue is only a fraction of the set of open PRs, so having better insight into the whole distribution of statusses is useful.
This PR
adds a new query, for all draft PRs (there was only a query for all ready PRs)
Querying for all open PRs and filtering is not an option, as the PR stage (draft/ready) is not returned through the default query, it is only returned in individual PR's information, which we would like to avoid querying, for performance reasons.
add new logic for classifying each PR's status (taken from #25)
determines the number of PRs in each possible statue and prints some information about this
The output presentation could be improved (for instance, it leaks the internal status names), but it's a start.
This question came up on zulip: the review queue is only a fraction of the set of open PRs, so having better insight into the whole distribution of statusses is useful.
This PR