Skip to content

fix(github): handle graphql rate limit gracefully in devops pr threads list #189

Closed

Description

@dan-petty

Problem Description

When GraphQL API rate limits are reached (e.g. following extensive project synchronization), executing devops pr threads list <pr_number> crashes with an unhandled GitHubOperationError traceback instead of a clean, structured CLI error or REST fallback.

Traceback

GitHubOperationError: GitHub GraphQL query failed: gh: API rate limit already exceeded for user ID 7726889.

Acceptance Criteria

  • devops pr threads list catches GitHubOperationError and exits cleanly with print_error.
  • Consider adaptive fallback to REST comments when GraphQL rate limit is encountered (similar to pr_monitor.py).

Activity

  1. added this to the v0.0.1 milestone on Sep 13, 2026
  2. added
    type/bug
    scope/github
    status/ready
    on Sep 13, 2026
  3. modified the milestones: v0.0.1, v0.2.17 on Sep 13, 2026
  4. added
    priority/p1-high
    status/in-progress
    and removed
    status/ready
    on Sep 13, 2026
  5. dan-petty commented on Sep 14, 2026

    @dan-petty
    OwnerAuthor

    Resolved and merged into release/v0.2.17.

  6. added and removed
    status/in-progress
    on Sep 14, 2026
  7. added a commit that references this issue on Sep 14, 2026
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

    priority/p1-highscope/githubtype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions