Release notes

FEATURE

`gh pr edit` no longer fetches your org's whole team list just to add a reviewer

You use gh pr edit to set reviewers on a PR — a pull request, the code change you've submitted and are waiting on someone to review before it merges. Add just one person, not a team, and until now the command would still go fetch your entire org's team list first, whether you needed it or not.

Now gh pr edit only fetches that list when you're actually naming a team as a reviewer, and skips the step the rest of the time. For you, that means adding a single person as a reviewer no longer gets slowed down by a team lookup you never needed.

BUGFIX

Cache delete counts, the spinner, task-dispatch repo, and login — four small fixes at once

These are the kind of small bugs you'd never notice unless you hit them directly. When you clear the cache — results stored earlier so you don't have to recompute them — gh cache delete used to report the wrong number of deleted entries; now the count is right whether you pass just a key or a key plus a ref, the git reference marking which branch a cache entry belongs to. Run gh agent-task create with --follow to watch progress, and the spinner used to keep spinning after the run finished; now it stops right when the task does. That same command used to sometimes dispatch work to the upstream repo — the repo yours was forked from — instead of your configured default repo; now it goes to the right one. And auth login and auth refresh now talk over a UNIX socket instead of the network.

Original changelog

Original changelog`gh pr edit` no longer fetches your org's whole team list just to add a reviewer
`gh pr edit`: Only fetch org teams for reviewers when required by @BagToad in https://github.com/cli/cli/pull/11835
Original changelogCache delete counts, the spinner, task-dispatch repo, and login — four small fixes at once
fix(cache delete): report correct deleted count for key and key+ref deletions by @luxass in https://github.com/cli/cli/pull/11838
`gh agent-task create`: Fix `--follow` not killing the progress indicator by @BagToad in https://github.com/cli/cli/pull/11879
`gh agent-task create`: Fix targetting upstream instead of default repo by @BagToad in https://github.com/cli/cli/pull/11896
Fix `auth login` and `auth refresh` to use UNIX socket by @babakks in https://github.com/cli/cli/pull/11922