Skip to content

Conversation

sdangol
Copy link
Contributor

@sdangol sdangol commented Aug 7, 2025

Summary

Updated the dependabot config to limit the frequency of checking for updates for the aws-cdk and aws-sdk-v3 groups

Changes

Please provide a summary of what's being changed

The dependabot config didn't support having schedule within groups. So, I had to do a workaround by creating two package-ecosystem configs. The first config set with daily updates ignores the aws-cdk and aws-sdk-v3 related dependency and the second config set with weekly updates only allows those dependencies.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #4288


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@pull-request-size pull-request-size bot added the size/M PR between 30-99 LOC label Aug 7, 2025
@sdangol sdangol self-assigned this Aug 7, 2025
@sdangol sdangol requested review from dreamorosi and svozza August 7, 2025 18:55
@svozza
Copy link
Contributor

svozza commented Aug 7, 2025

Is there a way to test this before we merge or do we we have to wait a week to see?

@dreamorosi
Copy link
Contributor

As far as I know we can only put the Dependabot config in another test repo's main branch and it'll tell us if the config is valid or not.

Beyond that, we'll have to wait for a few days to see if it behaves the way we think.

@leandrodamascena
Copy link
Contributor

I was considering this for Python a while ago because I wanted to mitigate the bumps with boto3/stubs as well, but I gave up because of this: dependabot/dependabot-core#1778.

I didn't test it at the time and simply gave up, but it seems like this type of configuration isn't valid. But I could be wrong.

@leandrodamascena
Copy link
Contributor

I was considering this for Python a while ago because I wanted to mitigate the bumps with boto3/stubs as well, but I gave up because of this: dependabot/dependabot-core#1778.

I didn't test it at the time and simply gave up, but it seems like this type of configuration isn't valid. But I could be wrong.

It seems to work now. I saw a similar PR merged into another repository: Enterprise-CMCS/cmcs-eregulations#1773

@dreamorosi
Copy link
Contributor

I see, thanks for sharing.

Agree that I've also seen many quirks with Dependabot over time.

I think for this type of CI change it's safe to try merging it and see if it works. If it doesn't, we can always reopen the issue and revert it.

Worst things that can happen are that Dependabot continues opening PRs daily or stops entirely, which we'll be able to see from the logs.

@svozza
Copy link
Contributor

svozza commented Aug 8, 2025

Yeah, agreed.

Copy link

sonarqubecloud bot commented Aug 8, 2025

@dreamorosi dreamorosi merged commit 51542b5 into main Aug 8, 2025
34 checks passed
@dreamorosi dreamorosi deleted the improv/dependabot-config branch August 8, 2025 14:53
@sdangol
Copy link
Contributor Author

sdangol commented Aug 12, 2025

Seems like this didn't work. #4305 and #4296 are not a week apart. I'll reopen the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M PR between 30-99 LOC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: Decrease the update schedule of aws-cdk and aws-sdk-v3 group in dependabot
4 participants