Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 5, 2025

This PR implements dependabot configuration to proactively monitor critical dependencies in the Lotus repository, addressing the technical debt issues described in #13232.

What this adds

A new .github/dependabot.yml configuration that:

  • Monitors critical dependencies monthly to provide signals to maintainers without overwhelming noise
  • Groups dependencies logically into 6 categories (filecoin-core, ipfs-ecosystem, libp2p-ecosystem, multiformats, web-networking, data-storage, crypto-hardware)
  • Covers all dependencies specified in the issue, including:
    • All github.com/filecoin-project/* dependencies (including specs-actors with all versioned variants)
    • All github.com/ipfs/*, github.com/libp2p/*, and github.com/multiformats/* dependencies
    • Additional critical packages: gorilla/mux, gorilla/websocket, mattn/go-sqlite3, whyrusleeping/cbor-gen, zondax/ledger-filecoin-go, golang.org/x/crypto

The configuration uses clean wildcard patterns for maximum coverage while maintaining organized groupings for easier review.

Why this helps

This addresses the core problem where "tasks requiring a dependency update can mushroom with unexpected work" by providing early signals when updates are available for our most critical dependencies. The monthly schedule keeps notifications manageable while ensuring we don't fall too far behind on important updates.

The configuration complements the existing dependency-check.yml workflow and follows the pragmatic approach requested - focusing on the most beneficial dependencies rather than blanket monitoring everything.

Fixes #13232.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] Setup dependabot for key dependencies Setup dependabot for critical dependencies Aug 5, 2025
Copilot finished work on behalf of rvagg August 5, 2025 05:31
@Copilot Copilot AI requested a review from rvagg August 5, 2025 05:31
@Copilot Copilot AI changed the title Setup dependabot for critical dependencies Setup dependabot for critical dependencies including specs-actors Aug 5, 2025
@Copilot Copilot AI requested a review from rvagg August 5, 2025 05:35
Copilot finished work on behalf of rvagg August 5, 2025 05:35
@rvagg rvagg marked this pull request as ready for review August 5, 2025 05:36
@Copilot Copilot AI review requested due to automatic review settings August 5, 2025 05:36
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@github-project-automation github-project-automation bot moved this from 📌 Triage to ⌨️ In Progress in FilOz Aug 5, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces Dependabot configuration to automate monitoring of critical dependencies in the Lotus repository, addressing technical debt issues by providing early signals for dependency updates.

  • Configures monthly monitoring of critical Go dependencies grouped into 6 logical categories
  • Covers all dependencies specified in issue #13232 including specs-actors, go-state-types, boxo, and go-libp2p
  • Sets up automated PR creation with proper reviewers and labels to streamline the update process

Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

may as well give it a go and see what kind of pain we're in for 🤞

@rvagg rvagg changed the title Setup dependabot for critical dependencies including specs-actors chore(deps): setup dependabot for critical dependencies Aug 5, 2025
@rvagg rvagg requested a review from rjan90 August 5, 2025 05:37
@github-actions github-actions bot dismissed their stale review August 5, 2025 05:37

PR title now matches the required format.

@Copilot Copilot AI requested a review from rvagg August 5, 2025 05:38
Copilot finished work on behalf of rvagg August 5, 2025 05:38
@rvagg
Copy link
Member

rvagg commented Aug 5, 2025

Copilot's self-review is confused, it says to both include it and don't include it, so I'm going to err on the side of accepting both. I don't expect specs-actors to ever trigger this but you never know.

@github-project-automation github-project-automation bot moved this from ⌨️ In Progress to ✔️ Approved by reviewer in FilOz Aug 5, 2025
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to ⌨️ In Progress in FilOz Aug 12, 2025
@BigLep BigLep moved this from ⌨️ In Progress to 🔎 Awaiting Review in FilOz Aug 12, 2025
- Replace explicit filecoin-project package patterns with single wildcard
- Remove redundant ipfs/boxo and libp2p/go-libp2p explicit patterns
- Remove "automated" label that doesn't exist in the repo

Co-authored-by: BigLep <[email protected]>
@Copilot Copilot AI requested a review from BigLep August 12, 2025 03:32
Copilot finished work on behalf of BigLep August 12, 2025 03:32
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Aug 12, 2025
@BigLep BigLep enabled auto-merge (squash) August 12, 2025 04:47
@BigLep BigLep merged commit 840aa43 into master Aug 12, 2025
98 checks passed
@BigLep BigLep deleted the copilot/fix-13232 branch August 12, 2025 04:52
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

Setup dependabot for key dependencies
4 participants