Skip to content

Github CLI for getting changed file list is buggy #255

Open

Description

@vivekkairi

TL;DR

Currently we are using github cli for getting the changed files list and it has a issue which throws 406 if changes are more than 20k lines but files are less.

could not find pull request diff: HTTP 406: Sorry, the diff exceeded the maximum number of lines (20000) (https://api.github.com/repos/org/repo/pulls/714)
PullRequest.diff too_large

The number of file changes in this PR is 150 only, should explore some other solution for getting file change list.

Expected behavior

No response

Observed behavior

No response

Action YAML

-

Log output


Additional information

No response

Activity

  1. gemini-cli commented on Aug 29, 2025

    @gemini-cli
    Contributor

    🤖 Hi @vivekkairi, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

  2. added this to the v0.1.13 milestone on Sep 5, 2025
  3. modified the milestones: v0.1.13, v0.1.14 on Sep 16, 2025
  4. modified the milestones: v0.1.14, v0.1.15 on Oct 23, 2025
  5. MJjainam commented on Nov 12, 2025

    @MJjainam
    Contributor

    @vivekkairi As suggested by you, this is an issue from gh CLI.
    Are you aware of any fallback option that can be relied on other than gh CLI? gh is official and takes care of the auth well. Any other approach would be hacky IMO.

  6. added
    priority/p3Backlog - a good idea but not currently a priority
    on Nov 13, 2025
  7. removed this from the v0.1.15 milestone on Nov 18, 2025
  8. self-assigned this
    on Dec 8, 2025
  9. modified the milestones: v0.1.17, v0.1.18 on Dec 9, 2025
  10. modified the milestones: v0.1.19, v0.1.20 on Dec 23, 2025
  11. removed their assignment
    on Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions