pub fn best_pull_request(
all: Vec<PullRequestSummary>,
) -> Option<PullRequestSummary>Expand description
Picks the request that best answers “which PR is this branch’s?”:
open, then draft, then merged, then closed; newest updated_at breaks
a tie (ISO-8601 strings sort chronologically).