Skip to content

ci: group action updates and add concurrency control - #50

Merged
camcima merged 1 commit into
mainfrom
ci/group-action-updates-and-add-concurrency
Aug 19, 2026
Merged

ci: group action updates and add concurrency control#50
camcima merged 1 commit into
mainfrom
ci/group-action-updates-and-add-concurrency

Conversation

@camcima

@camcima camcima commented Aug 19, 2026

Copy link
Copy Markdown
Owner

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.com rate limits while downloading action tarballs.

Every failure was at the Prepare all required actions step — before checkout, so no repo code ever ran:

PR Action that would not download Errors
#46 pnpm/action-setup@6.0.9 429 ×3
#47 codecov/codecov-action@v7 503, 502, 503
#48 pnpm/action-setup, codecov-action 429 ×4
#49 osv-scanner-action, pnpm/action-setup 429, 502, 503

Re-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 all github-actions updates 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 (see chore: combine dependency updates from #36, #40, #41).

ci.yml — add workflow-level concurrency so superseded PR runs are cancelled instead of competing for runners.

cancel-in-progress is deliberately scoped to pull_request only. On push-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

  • Both files parse as valid YAML
  • prettier --check passes on both
  • lefthook pre-commit (format, secrets, typecheck) and commit-msg (commitlint) hooks passed

🤖 Generated with Claude Code

https://claude.ai/code/session_018QM3RLMheAHHyHNiNa2eMR

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
Copilot AI lite review requested due to automatic review settings August 19, 2026 00:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (c84435d) to head (d99b356).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@camcima
camcima merged commit da42301 into main Aug 19, 2026
8 checks passed
@camcima
camcima deleted the ci/group-action-updates-and-add-concurrency branch August 19, 2026 00:58
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.

2 participants