grpc / grpc/grpc-rust

Testing: add a CI test using the minimum version of every dependency

Open
#2,726 0 comments 0 reactions 0 assignees View on GitHub
T-ci
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

Since we don't commit our `Cargo.lock` file, we're always testing with the latest version of every dependency. If we were to accidentally use a feature added after the minimum version specified in `Cargo.toml`, then all our tests would pass, even though some users' builds could fail. We should test (or at least compile -- with `check`?) with the exact version specified in our `Cargo.toml` file.

Contributor guide

Open the contributing guide

Research direction

Start with the dependency versions specified in Cargo.toml and the repository's CI configuration. Determine how to run a test or cargo check against those exact minimum versions, then verify that the CI job succeeds using the minimum dependency set.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.