Skip to content

Dependency Bump Review Process Improvements #9630

Description

@oxarbitrage

Currently, the Zebra repository follows an informal process for reviewing dependency updates, which has led to recurring challenges. Here's a brief summary of how we got here:

Background

From the beginning, Zebra used the Dependabot plugin to automatically open pull requests whenever new dependency updates became available. However, since Zebra depends on many crates, this quickly became overwhelming, pull requests were being opened almost daily.

To reduce the noise, we:

  • Switched Dependabot to check for updates weekly instead of daily.
  • Grouped dependencies into hardcoded categories like prod, devops, etc.
  • Eventually further reduced the update frequency to every two weeks, and most recently to once a month.
  • Configured Dependabot to only update Cargo.lock for minor upgrades.

In parallel, we introduced cargo vet to help with dependency auditing and reviews. However, it hasn’t been fully adopted:

  • We lack clear policies for dependency trust levels.
  • In some cases, using cargo vet has been more cumbersome than reviewing updates manually.

While these adjustments have helped to some degree, they were intended as temporary fixes. We still lack a formalized, consistent process for reviewing and approving dependency updates.

Related Work

Some background on how we use cargo vet:

We could consider using the current Dependabot PR as a test case for process improvements:

Other related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions