Skip to content

Add rate_limiting_active field to TaskQueueStats#818

Open
rkannan82 wants to merge 4 commits into
mainfrom
kannan/rate-limiting-active-field
Open

Add rate_limiting_active field to TaskQueueStats#818
rkannan82 wants to merge 4 commits into
mainfrom
kannan/rate-limiting-active-field

Conversation

@rkannan82

@rkannan82 rkannan82 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What

Adds bool rate_limiting_active to TaskQueueStats proto message.

Why

Auto-scaling systems need to know when backlog growth is caused by rate limiting rather than insufficient worker capacity. When the whole-queue rate limit is blocking dispatches, scaling up workers doesn't help — the bottleneck is the rate limit, not worker count.

Server PR

🤖 Generated with Claude Code

When a task queue's whole-queue rate limit is blocking dispatches,
auto-scaling systems should suppress scale-up since more workers
cannot increase throughput. This boolean surfaces that state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
rkannan82 and others added 2 commits July 6, 2026 22:08
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rkannan82 rkannan82 marked this pull request as ready for review July 7, 2026 05:11
@rkannan82 rkannan82 requested review from a team July 7, 2026 05:11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant