Skip to content

chore: add minimal dependabot config for auto dependency updates#36

Merged
kmesh-bot merged 1 commit intokmesh-net:mainfrom
Eeshu-Yadav:chore/add-dependabot-config
Aug 28, 2025
Merged

chore: add minimal dependabot config for auto dependency updates#36
kmesh-bot merged 1 commit intokmesh-net:mainfrom
Eeshu-Yadav:chore/add-dependabot-config

Conversation

@Eeshu-Yadav
Copy link
Contributor

This PR adds a minimal .github/dependabot.yml configuration to enable automatic dependency updates for:

  • Rust (Cargo) dependencies

  • GitHub Actions workflows

  • Groups related dependencies to reduce PR noise

  • Runs weekly and limits open PRs for easier review

This will help keep dependencies up-to-date and improve project security and maintainability.

fixes #35

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @Eeshu-Yadav, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new Dependabot configuration file to automate dependency updates for both Rust (Cargo) dependencies and GitHub Actions workflows. The primary goal is to enhance project security and maintainability by ensuring dependencies are kept up-to-date with minimal manual intervention. The configuration is set to run weekly, with limits on open pull requests and intelligent grouping of related dependencies to streamline the review process.

Highlights

  • Dependabot Configuration: Introduces a new .github/dependabot.yml file to enable automated dependency updates for the repository.
  • Rust (Cargo) Dependencies: Configures Dependabot to check for updates to Rust (Cargo) dependencies weekly, with a limit of 5 open pull requests at a time. It also groups related dependencies like Tokio, Hyper, Tower, Futures (async-ecosystem), Prost, Tonic (protobuf-ecosystem), and Serde (serialization) to reduce PR noise.
  • GitHub Actions Workflows: Sets up Dependabot to update GitHub Actions workflows weekly, limiting open pull requests to 3.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a Dependabot configuration for Rust and GitHub Actions, which is a great step towards keeping dependencies up-to-date and improving security. The configuration is well-structured, using groups to reduce pull request noise. I've suggested adding a couple more groups for tracing and rustls dependencies to further improve the organization of dependency updates. Overall, this is a valuable addition to the project.

Comment on lines +10 to +23
groups:
async-ecosystem:
patterns:
- "tokio*"
- "hyper*"
- "tower*"
- "futures*"
protobuf-ecosystem:
patterns:
- "prost*"
- "tonic*"
serialization:
patterns:
- "serde*"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This is a good set of groups for dependency updates. To further reduce PR noise and keep related dependencies together, consider adding groups for the tracing and rustls ecosystems, which are also used in this project. This will make reviewing dependency updates even easier.

    groups:
      async-ecosystem:
        patterns:
          - "tokio*"
          - "hyper*"
          - "tower*"
          - "futures*"
      protobuf-ecosystem:
        patterns:
          - "prost*"
          - "tonic*"
      serialization:
        patterns:
          - "serde*"
      tracing-ecosystem:
        patterns:
          - "tracing*"
      rustls-ecosystem:
        patterns:
          - "rustls*"

@Eeshu-Yadav Eeshu-Yadav force-pushed the chore/add-dependabot-config branch 2 times, most recently from f314974 to 8567f0c Compare August 15, 2025 14:38
@kmesh-bot kmesh-bot added size/L and removed size/M labels Aug 15, 2025
@Eeshu-Yadav Eeshu-Yadav force-pushed the chore/add-dependabot-config branch from 8567f0c to 15c3efa Compare August 15, 2025 14:39
@kmesh-bot kmesh-bot added size/M and removed size/L labels Aug 15, 2025
@Eeshu-Yadav
Copy link
Contributor Author

@YaoZengzeng kindly review this

@YaoZengzeng
Copy link
Member

/lgtm

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

Thank you

@hzxuzhonghu
Copy link
Member

/retest

@hzxuzhonghu
Copy link
Member

@Eeshu-Yadav seems you need to rebase

@Eeshu-Yadav
Copy link
Contributor Author

Yaa will update in a while> @Eeshu-Yadav seems you need to rebase

- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
Copy link
Member

Choose a reason for hiding this comment

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

i would change it to monthly or quarterly, weekly seem too often

Copy link
Contributor Author

@Eeshu-Yadav Eeshu-Yadav Aug 27, 2025

Choose a reason for hiding this comment

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

okk , update that to monthly

@kmesh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dawid-nowak, hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [dawid-nowak,hzxuzhonghu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Eeshu-Yadav Eeshu-Yadav force-pushed the chore/add-dependabot-config branch from 15c3efa to 09293ed Compare August 27, 2025 09:34
@kmesh-bot kmesh-bot removed the lgtm label Aug 27, 2025
@Eeshu-Yadav Eeshu-Yadav force-pushed the chore/add-dependabot-config branch from 09293ed to d0f5200 Compare August 27, 2025 09:37
Signed-off-by: Eeshu-Yadav <eeshuyadav123@gmail.com>
@Eeshu-Yadav Eeshu-Yadav force-pushed the chore/add-dependabot-config branch from d0f5200 to 2d07593 Compare August 27, 2025 10:01
Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

/lgtm

Thank you

@kmesh-bot kmesh-bot added the lgtm label Aug 28, 2025
@kmesh-bot kmesh-bot merged commit 02b9497 into kmesh-net:main Aug 28, 2025
4 checks passed
@Eeshu-Yadav Eeshu-Yadav deleted the chore/add-dependabot-config branch August 28, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable Dependabot for automatic dependency updates

5 participants