Public bug reported:

Please sponsor gh 2.46.0-4ubuntu1 for the 27.04 (tenacious) development
release.

The current gh 2.46.0 package requests the Projects (classic) GraphQL field
projectCards unconditionally for the human-readable pr view, issue view and
pr edit commands. GitHub removed Projects (classic) and that field on
2025-10-22, so these commands fail on every github.com repository with:

  GraphQL: Projects (classic) is being deprecated in favor of the new
  Projects experience ... (repository.pullRequest.projectCards)

The patch stops requesting projectCards in the default lookup fields.
Projects v2 (projectItems) is unaffected. Upstream fixed this in 2.71.0
(issue view) and 2.73.0 (pr view).

PPA with all four series (all amd64 builds succeeded):
https://launchpad.net/~chris-bainbridge/+archive/ubuntu/sru

  gh 2.46.0-4ubuntu1              tenacious
  gh 2.46.0-4ubuntu0.26.04.2      resolute
  gh 2.46.0-4ubuntu0.26.10.1      stonking
  gh 2.45.0-1ubuntu0.4            noble

The resolute package was installed and verified on Ubuntu 26.04:

- gh pr view, gh pr view --comments, gh issue view and
  gh issue view --comments work
- gh pr edit reaches the update step
- GH_DEBUG=api shows projectCards is no longer queried
- --json, pr list, pr diff and pr checks are unchanged

The debdiff and the verification record are attached. The source package is
gh_2.46.0-4ubuntu1.dsc with gh_2.46.0-4ubuntu1.debian.tar.xz; the orig
tarball is the existing gh_2.46.0.orig.tar.gz.

After the devel upload, I will file the SRU bug for resolute, noble and
stonking. Ubuntu Pro users will additionally need the ESM Apps package
rebuilt, because o=UbuntuESMApps is pinned at 510 and currently shadows the
archive package.

Links:
https://bugs.launchpad.net/bugs/2132360
https://github.com/cli/cli/issues/11992

** Affects: gh (Ubuntu)
     Importance: Undecided
     Assignee: Chris Bainbridge (chris-bainbridge)
         Status: In Progress

** Affects: gh (Ubuntu Tenacious)
     Importance: Undecided
     Assignee: Chris Bainbridge (chris-bainbridge)
         Status: In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174543

Title:
  Please sponsor gh 2.46.0-4ubuntu1: fix pr/issue view on github.com

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gh/+bug/2174543/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to