Skip to content

ci: add concurrency guard to gh-combined-tasks cron to stop overlapping runs - #214

Draft
claude[bot] wants to merge 1 commit into
mainfrom
fix/gh-combined-tasks-concurrency-guard
Draft

claude[bot] wants to merge 1 commit into
mainfrom
fix/gh-combined-tasks-concurrency-guard

Conversation

@claude

@claude claude Bot commented Sep 14, 2026

Copy link
Copy Markdown

Requested via Slack thread

Before: gh-combined-tasks.yaml (the cron running 14 GitHub-polling tasks, including the #frontend release notifier) has no concurrency guard. When a run gets stuck on GitHub API rate limits and hits the 10-minute step timeout, the next 5-minute cron tick fires anyway and piles more requests onto the same token — compounding the rate-limit exhaustion instead of letting it recover. This has caused 40+ consecutive failed runs.

After: a concurrency group with cancel-in-progress: true means a new run cancels any still-running previous one instead of stacking on top of it, so the token gets a chance to recover between attempts.

This does not fix the underlying rate-limit exhaustion itself (that needs someone with token access to check gh api rate_limit and possibly reduce polling frequency or split up the 14 bundled tasks) — it just stops the pile-up that's making it worse.

…ng runs

The workflow has no concurrency guard, so a run stuck on GitHub API
rate limits that hits the 10-minute step timeout doesn't stop the next
5-minute cron tick from firing anyway, piling more requests onto the
same token and compounding the rate-limit exhaustion (40+ consecutive
failed runs). Cancelling in-progress runs on a new trigger gives the
token a chance to recover between attempts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A789tEwmh3vdssEf47CPZf
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
comfy-pr Ready Ready Preview Sep 14, 2026 1:54am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 8eaafbb6-5c2b-4d89-9942-82640ca20324

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

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