Skip to content

fix(github): a rate-limit check for another host leaves the github.com quotas unchanged #1968

Closed

Description

@dan-petty

Friction

A devops gh api rate_limit call that names another GitHub host with --hostname stores that host's answer as the github.com quotas. The rate limiter then paces github.com requests on numbers from the wrong host.

Evidence

Existing tool considered

gh already sends the request to the named host. Nothing is built; the fix keys the stored quotas by host, or does not store an answer from another host.

Proposed remedy

The quota read stores a rate-limit answer only for the host the limiter paces. A test sends a check with --hostname and shows that the github.com quotas stay as they were.

Activity

  1. added
    source/agent
    type/bug
    on Oct 23, 2026
  2. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/bug. The candidate fixes a problem in the rate-limit handling logic.
    • Priority: P2-Medium. The issue affects how rate limits are applied to requests.
    • Value: Medium. The fix ensures correct quota handling for different GitHub hosts.
    • Effort: Medium. The fix requires changes in quota storage and retrieval logic.
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

    source/agenttype/bug

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions