-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Idle Warp tabs drain GitHub GraphQL API rate limit (~2.4 calls/sec) #9830
Copy link
Copy link
Open
Labels
area:performanceGeneral application performance, responsiveness, and resource usage.General application performance, responsiveness, and resource usage.area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:mediumThe report suggests a plausible repro path, but some uncertainty remains.The report suggests a plausible repro path, but some uncertainty remains.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Milestone
Metadata
Metadata
Assignees
Labels
area:performanceGeneral application performance, responsiveness, and resource usage.General application performance, responsiveness, and resource usage.area:shell-terminalTerminal input/output, shell integration, prompt behavior, and block rendering.Terminal input/output, shell integration, prompt behavior, and block rendering.area:window-tabs-panesWindow, tab, pane, and workspace layout management.Window, tab, pane, and workspace layout management.bugSomething isn't working.Something isn't working.os:macmacOS-specific behavior, regressions, or requests.macOS-specific behavior, regressions, or requests.repro:mediumThe report suggests a plausible repro path, but some uncertainty remains.The report suggests a plausible repro path, but some uncertainty remains.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Summary
Warp appears to make continuous GitHub GraphQL API calls from idle/inactive tabs, rapidly consuming the user's GitHub API rate limit (5,000 calls/hour). With many windows and tabs open, this can exhaust the quota in under 30 minutes even with no active sessions.
Environment
ghCLI authenticated via OAuth (gho_token)Observed behavior
With Warp running on a second computer (~144 total tabs, mostly idle), GitHub GraphQL API rate limit was draining at ~2.4 calls/second (measured via
gh api graphql -f query='{ rateLimit { used remaining } }'at 60-second intervals).No other applications were making GitHub API calls — verified by:
lsofghCLI processes runningQuitting Warp on the second computer immediately stopped the drain (rate went to 0.0/sec).
Reopening Warp fresh (with restored windows/tabs from previous sessions) caused an immediate burst of ~100+ GraphQL calls, then continued sustained polling at ~2/sec.
Important control: Warp was also running on the primary computer during the entire investigation with ~12 inactive tabs and 1 active tab — this instance did NOT cause any measurable drain. The difference was likely the number of tabs/windows or something about the restored session state on the second computer.
Reopening Warp a second time on the second computer (after previously quitting and clearing the session state) showed near-zero drain — suggesting the issue is tied to restored/stale session state rather than Warp itself.
Reproduction
Difficult to reproduce precisely, but the conditions were:
ghCLI, Claude Code, Codex CLI)ghCLI authenticated to GitHubImpact
At 2.4 calls/sec, the 5,000/hour GitHub GraphQL rate limit is exhausted in ~35 minutes. This blocks all GitHub CLI and API operations for the user across all devices and applications (rate limit is per-user, not per-device).
Diagnostic data
Rate measurements taken during investigation:
Questions
ghOAuth token, or does Warp have its own GitHub integration?Suggested fix
X-RateLimit-Remainingheader