Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbreak CI #385

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Unbreak CI #385

merged 1 commit into from
Jul 19, 2023

Conversation

jplatte
Copy link
Collaborator

@jplatte jplatte commented Jul 19, 2023

Motivation

CI is failing in other PRs, with no fault of the PR authors.

Solution

Stop erroring on duplicate dependencies in the cargo-deny check.

Since tower-http doesn't maintain a Cargo.lock in git, this check breaks
very often due to dependencies doing their own maintenance.
The signal / noise ratio of this check was very low.
@Nehliin
Copy link
Collaborator

Nehliin commented Jul 19, 2023

I'd rather have specific exceptions than accepting all duplicate dependencies

@davidpdrsn
Copy link
Member

I'm okay either way 😅

@jplatte
Copy link
Collaborator Author

jplatte commented Jul 19, 2023

I'd rather have specific exceptions than accepting all duplicate dependencies

The problem with this, as mentioned in the commit message, is that CI frequently breaks from it from dependencies just doing their regular maintenance and upgrading dependencies. I also like avoiding duplicate dependencies, very much (recently went to upgrade syn in a bunch of places that hadn't upgraded to 2.0 yet). But more often than not, it's non-trivial to fix these and unrelated contributions get stuck on it, especially when the project isn't receiving frequent updates (like tower-http, currently).

@Nehliin
Copy link
Collaborator

Nehliin commented Jul 19, 2023

Fair enough

@jplatte jplatte merged commit d7844c0 into master Jul 19, 2023
11 checks passed
@jplatte jplatte deleted the jplatte/ci branch July 19, 2023 08:23
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