You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace redundant parsePullRequestList call with lightweight pullRequestSummaryToInfo conversion
In findOpenPr, pullRequests is already ReadonlyArray<GitHubPullRequestSummary>
(validated and normalized by GitHubCli.listOpenPullRequests). Passing these
through parsePullRequestList — which is designed for raw unknown JSON — was
redundant. Add a dedicated pullRequestSummaryToInfo function that directly
maps GitHubPullRequestSummary to PullRequestInfo without re-checking types.
0 commit comments