Registry Mirror
Skip to content

Conversation

@potiuk

@potiuk potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a new Dependabot configuration guide page (dependabot.html) covering ecosystem identification, YAML setup, and best practices
  • Recommends weekly updates with grouped PRs to reduce noise and 4-day cooldown periods for supply-chain security
  • Links the new page from the Services and Tools page under a new "Dependency management" subsection

Test plan

  • Verify the new page renders correctly via Pelican build
  • Confirm all links from services.html to dependabot.html work
  • Review YAML examples for correctness

🤖 Generated with Claude Code

Add a new page with instructions for setting up Dependabot, covering
ecosystem identification, weekly schedule with grouped PRs, and 4-day
cooldown periods for supply-chain security. Link from the Services page
under a new Dependency management subsection.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@potiuk

potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

cc: @raboof @dfoulks1 @Humbedooh

@sebbASF

sebbASF commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

Useful page.

However, I would question whether weekly checks are necessary for anything other than Github Actions.

Unless a release is made, out-dated dependencies are not really relevant. A monthly or even quarterly schedule is more appropriate for such checks. With weekly reports, a project can be flooded with update messages.

@potiuk

potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

We updated In Airflow 4 times a day (automatically). Now we update at most 4 times a week because we wanted to relax it. The main gain is that if you have failure because your dependency is causing a regression, it's FAR easier to resolve it when you know that you have 1 dependency upgrade vs. 50.

It really all depends on the size of the project, number of dependencis and how frequently you release (we release up to 100 distributions every 2 weaks at least in Airflow) and all of those - we bump usually to highest posible versions - so updaing monthly or quarterly makes no sense.

There is this saying that "if something is painful" do it more frequently.

But yes I am happy to add that it really depends on many factors and some projects do it daily, some do it quarterly - everything in between depends on size and frequency and how often you are able to review it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@potiuk

potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

But yes I am happy to add that it really depends on many factors and some projects do it daily, some do it quarterly - everything in between depends on size and frequency and how often you are able to review it.

Updated - added example of Airlfow and explained what dependency of upgrade depends on - also added comment from you that there are indeed projects where monthly or quarterly updates are appropriate.

Let me know if this is fine for you @sebbASF

@sebbASF

sebbASF commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

The change regarding frequency is fine for me.

It might also be worth describing how to ignore certain versions.
AFAICT Dependabot does not take account of Java or Python etc. versions, so can propose updates that don't apply.

@potiuk

potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

It might also be worth describing how to ignore certain versions.
AFAICT Dependabot does not take account of Java or Python etc. versions, so can propose updates that don't apply.

It's a question of "Ecosystem" you choose - and yes it actually handles Python very well in "pip" ecosystem or "uv" (if you look in detail of the examples) there is a "maven" ecosystem for Java. Dependabot does not distinguish "languages" as such - but ecosystems - i.e. where your dependencies are downloaded from.

The full list of those supported ecosystems is in https://docs.github.com/en/code-security/reference/supply-chain-security/supported-ecosystems-and-repositories and yeah - might be good idea to add link to it (though quick start already does).

potiuk and others added 2 commits March 22, 2026 14:17
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@potiuk

potiuk commented Mar 22, 2026 •

Copy link
Copy Markdown
Member Author

Added more examples. link to list of ecosystem and updated the table with common ecosystems.

Any more comments - let me know. I am basically pasting what I am writing you as response to Claude and it does the job - so this conversation is very helpful.

Dependabot does not consider runtime versions (Java, Python, etc.)
so it may propose updates that are not compatible with the project.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@potiuk

potiuk commented Mar 22, 2026

Copy link
Copy Markdown
Member Author

Ach .. I only now re-read what you wrote @sebbASF -> actually yes, good idea to add version exclusion. Clauded it in.

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.

3 participants