Multiple approval prompts when parallel agents hit rate limit

Resolved 💬 3 comments Opened Feb 4, 2026 by msinantoktay Closed Feb 8, 2026

Bug Description

When running multiple parallel agents (using Task tool with run_in_background: true) and hitting the API rate limit, the user is prompted to approve/continue multiple times - once for each agent that hit the limit.

Steps to Reproduce

  1. Launch 20+ parallel extraction agents using the Task tool
  2. Wait for them to process and hit the rate limit
  3. Each agent that hits the limit triggers a separate approval prompt

Expected Behavior

A single approval prompt should be shown when rate limit is hit, rather than requiring the user to approve N times for N agents.

Actual Behavior

User must click through multiple approval dialogs (one per agent that hit the limit). In my case with ~30 parallel agents, this resulted in needing to approve many times.

Environment

  • Claude Code CLI
  • Multiple background agents running in parallel
  • Rate limit hit during parallel execution

Suggested Fix

Consolidate rate limit approval prompts when multiple agents hit the limit simultaneously, or queue the agents to resume after a single approval.

---
🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗