Skip to content

chore(deps): group npm Dependabot updates + cooldown - #129

Merged
yakimoto merged 1 commit into
mainfrom
chore/dependabot-groups
Sep 8, 2026
Merged

chore(deps): group npm Dependabot updates + cooldown#129
yakimoto merged 1 commit into
mainfrom
chore/dependabot-groups

Conversation

@yakimoto

@yakimoto yakimoto commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

User description

What this does

Adds a groups: key to the existing npm update entry in .github/dependabot.yml, grouping all npm dependency bumps in this repo into a single Dependabot PR per scheduled run instead of one PR per package. Also adds a 7-day cooldown on newly published versions (waits before proposing a bump to a package that just shipped), matching a semgrep guardrail check that flags configs missing a cooldown.

Why

Measured across the wave-av org on 2026-09-07: only 6 of 170 non-archived repos have a dependabot.yml at all, and of those, sdk, mcp-server, and adk had a config but no groups: key — the smallest possible lift on a file that already exists. Org-wide, 61 of 217 open Dependabot PRs (28%) are CONFLICTING in GitHub's mergeable-state check. Every Dependabot PR rewrites the lockfile, so unrelated single-package PRs are same-hunk-with-each-other by construction — the first one to merge invalidates the lockfile diff in all the others, and ordering can't fix that, only grouping can (bundle the bumps into one lockfile rewrite instead of N races against each other).

Grouping is not a hypothesis here — it is already deployed and working in the fleet. wave-spoke-template's Dependabot config uses this exact groups: { <name>: { patterns: ["*"] } } shape per ecosystem/directory, and every one of its grouped PRs is clean; its only conflicting PRs predate the groups config being added. This PR models the new block directly on that reference.

For this repo specifically at time of writing, the current open Dependabot PRs (#56, #45, #34, #33, #32, #25) are all MERGEABLE — no pre-existing conflicts to note here, unlike mcp-server and adk which each have live CONFLICTING PRs today.

What this does NOT do

Grouping is forward-looking only. It changes how future Dependabot runs open PRs; it does not retroactively merge, rebase, or de-conflict any PR that already exists. The six open dependency PRs listed above are untouched by this change and would need to be handled separately (rebase or close) if desired.

Scope

Config-only change to .github/dependabot.yml. No workflow, dependency, or lockfile changes. Not merging this PR as part of this change — opening for review only.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Low Risk
Config-only change to .github/dependabot.yml; no application code, workflows, or lockfiles are modified.

Overview
Updates Dependabot for the root npm ecosystem so future weekly runs open one grouped PR for all dependency bumps (groups.npm-dependencies with pattern *) instead of separate PRs per package, reducing lockfile merge races.

Also adds a 7-day cooldown (default-days: 7) so Dependabot waits before proposing updates to newly published package versions.

Reviewed by Cursor Bugbot for commit b129f88. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by Sourcery

Enhancements:

  • Group all npm dependency updates into a single Dependabot pull request per scheduled run and delay updates for newly published versions by seven days.

CodeAnt-AI Description

Group dependency updates and delay newly released versions

What Changed

  • npm dependency updates are combined into a single weekly Dependabot pull request instead of separate requests for each package
  • Newly released dependency versions are proposed after a seven-day waiting period

Impact

✅ Fewer dependency-update pull request conflicts
✅ Fewer weekly dependency-update notifications
✅ More stable dependency upgrades

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Group all npm updates in this repo into a single Dependabot PR per run,
matching wave-spoke-template's working config, plus a 7-day cooldown
on newly published versions.
@codeant-ai

codeant-ai Bot commented Sep 7, 2026

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR b129f88 Sep 07, 2026 · 23:42 23:42

@sourcery-ai

sourcery-ai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the existing npm Dependabot configuration to bundle all dependency bumps into a single PR per scheduled run and wait seven days before proposing newly released versions, reducing lockfile conflicts and allowing newly published releases to stabilize. This is a config-only, forward-looking change; existing dependency PRs and lockfiles are unaffected.

Flow diagram for grouped and delayed npm Dependabot updates

flowchart LR
    Schedule[Scheduled Dependabot run] --> Cooldown[Wait 7 days for newly published versions]
    Cooldown --> Group[Group all npm dependencies]
    Group --> PR[Open one dependency update PR]
    PR --> Lockfile[Single lockfile rewrite]
Loading

File-Level Changes

Change Details Files
Group all npm dependency updates into one scheduled Dependabot pull request.
  • Adds a wildcard npm dependency group.
  • Keeps the existing npm update scope and commit-message prefix unchanged.
.github/dependabot.yml
Delay Dependabot proposals for newly published package versions by seven days.
  • Adds a seven-day default cooldown to the npm update configuration.
.github/dependabot.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your workspace is out of credits. Ask your workspace admin to add credits to resume reviews. Manage billing

@codeant-ai

codeant-ai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@cursor

cursor Bot commented Sep 7, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_93dc3994-2cbc-497f-976f-655ce8c3cebf)

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: ca3af62f-9314-44e7-9f22-0d7a7eed1db8

📥 Commits

Reviewing files that changed from the base of the PR and between 7530051 and b129f88.

📒 Files selected for processing (1)
  • .github/dependabot.yml

Included review availability: 0 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (10)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: Macroscope - Approvability Check
  • GitHub Check: Gitar
  • GitHub Check: smoke (22)
  • GitHub Check: pr_agent
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (actions)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (1)
.github/dependabot.yml (1)

15-20: LGTM!


📝 Summary

Summary by CodeRabbit

  • Chores
    • Added automated grouping and scheduling for npm dependency updates, with updates delayed by seven days.

Walkthrough

Dependabot now groups npm dependency updates and delays them by seven days.

Changes

Dependency management

Layer / File(s) Summary
Dependabot npm update policy
.github/dependabot.yml
Dependabot groups npm dependency updates under npm-dependencies and applies a seven-day default cooldown.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to b129f

npm dependency updates will be grouped into one Dependabot pull request and delayed for seven days after publication. The configuration-only change is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main changes: grouping npm Dependabot updates and adding a cooldown.
Description check ✅ Passed The description clearly explains what changed, why it changed, scope, impact, and limitations. It includes the required What and Why sections. It does not include the template Checklist section, but t…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/dependabot-groups
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/dependabot-groups

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

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Sep 7, 2026

@sourcery-ai sourcery-ai Bot 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.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@gitar-bot

gitar-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your team has used its included automatic processing for this billing period (headroom scales with your seat count). You can still comment "Gitar review" to run one anytime, and automatic reviews resume on their own by October 1. Add seats for more headroom.
Learn more

Code Review ✅ Approved

Adds Dependabot grouping and a 7-day cooldown to the npm configuration in .github/dependabot.yml, bundling all dependency updates into a single weekly PR instead of separate per-package PRs to reduce lockfile merge conflicts. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Failed to generate code suggestions for PR

@macroscopeapp

macroscopeapp Bot commented Sep 7, 2026

Copy link
Copy Markdown

Approvability

Verdict: Would Approve

Macroscope's review found this PR approvable — This is a six-line, self-contained Dependabot configuration change affecting only how and when future npm update pull requests are created. It does not modify SDK runtime behavior, production workflows, dependencies, lockfiles, or deployment configuration.

Not approved because:

  • Credit balance exhausted. Approvability relies on correctness review in order to determine eligibility

Review your spending limits in Billing settings. You can add or adjust custom eligibility rules. Learn more.

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@yakimoto
yakimoto added this pull request to the merge queue Sep 8, 2026
Merged via the queue into main with commit 7ef0dd3 Sep 8, 2026
27 checks passed
@yakimoto
yakimoto deleted the chore/dependabot-groups branch September 8, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant