ci: group action updates and add concurrency control - #50
Merged
Conversation
Four Dependabot PRs opened within 70s spawned 24 concurrent jobs, which tripped codeload.github.com rate limits (429/502/503) while downloading action tarballs. Every job failed at "Prepare all required actions", before checkout. Group all github-actions updates into a single PR, and cancel superseded PR runs. cancel-in-progress is scoped to pull_request so push-to-main and scheduled runs queue instead of aborting CodeQL and Codecov uploads. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018QM3RLMheAHHyHNiNa2eMR
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 61 61
Lines 1801 1801
Branches 268 268
=========================================
Hits 1801 1801 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All four open Dependabot PRs (#46–#49) failed CI on 2026-08-17 for the same infrastructural reason: they were opened within 70 seconds of each other, spawning ~24 concurrent jobs that tripped
codeload.github.comrate limits while downloading action tarballs.Every failure was at the
Prepare all required actionsstep — before checkout, so no repo code ever ran:pnpm/action-setup@6.0.9codecov/codecov-action@v7pnpm/action-setup,codecov-actionosv-scanner-action,pnpm/action-setupRe-running the failed jobs cleared all four with no code changes, confirming the diagnosis. This PR reduces the chance of a repeat.
Changes
dependabot.yml— group allgithub-actionsupdates into one PR. Previously each action bump opened its own PR (#46 CodeQL, #47 pnpm), which is both the burst amplifier and manual merge work that was already being done by hand (seechore: combine dependency updates from #36, #40, #41).ci.yml— add workflow-levelconcurrencyso superseded PR runs are cancelled instead of competing for runners.cancel-in-progressis deliberately scoped topull_requestonly. Onpush-to-main and the weekly cron it stays false so those runs queue rather than abort — cancelling a main-branch run mid-flight would kill CodeQL SARIF and Codecov uploads.Notes
The grouping change is not retroactive — it applies from the next weekly Dependabot run and will not combine the currently-open PRs.
Verification
prettier --checkpasses on both🤖 Generated with Claude Code
https://claude.ai/code/session_018QM3RLMheAHHyHNiNa2eMR