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

[Question] - Dependabot Compatibility Score - Minimum number of candidate updates threshold #4001

Closed
brombaut opened this issue Jun 29, 2021 · 2 comments

Comments

@brombaut
Copy link

brombaut commented Jun 29, 2021

Hello. Sometimes the Compatibility Score badge on Dependabot PRs says "compatibility: unknown". For example, on this PR (brombaut/benrombautca#199) to bump copy-webpack-plugin from 5.1.2 to 9.0.1.

On the Dependabot website for this dependency update (https://dependabot.com/compatibility-score/?dependency-name=copy-webpack-plugin&package-manager=npm_and_yarn&previous-version=5.1.2&new-version=9.0.1) it says:

"Dependabot hasn't made enough updates for projects migrating copy-webpack-plugin from 5.1.2 to 9.0.1 to form a view on compatibility yet."

I was wondering what the minimum number of candidate updates are required for the compatibility score badge to show up correctly on Dependabot PRs?

I realize that the logic might be different since Dependabot was acquired by GitHub. I looked around this repo, but couldn't find any logic for how the score is retrieved (or calculated for that matter) for each Dependabot PR. Is this source code available somewhere?

Thanks!

@jurre
Copy link
Member

jurre commented Jun 29, 2021

The minimum number is currently 5, although this might change. The source code for this is not available publicly, it's part of the internal systems we use to run dependabot at scale.

I hope that helps

@jurre jurre closed this as completed Jun 29, 2021
@brombaut
Copy link
Author

Ok yes that helps thanks for the info! 👍

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

No branches or pull requests

2 participants