feat(scorecard): Implement batch provider for file checks#1
Merged
djanickova merged 7 commits intoscorecard-file-level-checksfrom Mar 20, 2026
Merged
Conversation
Signed-off-by: Diana Janickova <djanicko@redhat.com>
Assisted-By: Cursor Signed-off-by: Diana Janickova <djanicko@redhat.com>
Signed-off-by: Diana Janickova <djanicko@redhat.com>
imykhno
requested changes
Mar 5, 2026
Signed-off-by: Diana Janickova <djanicko@redhat.com>
Co-authored-by: Ihor Mykhno <imykhno@redhat.com>
Signed-off-by: Diana Janickova <djanicko@redhat.com>
Signed-off-by: Diana Janickova <djanicko@redhat.com>
imykhno
approved these changes
Mar 19, 2026
Collaborator
imykhno
left a comment
There was a problem hiding this comment.
Thank you! I have tested this locally with various files—including README.md, LICENSE, and CODEOWNERS— and configured the schedule for the files_check metrics. I can confirm that the functionality works as expected.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement batch provider for file checks
This PR introduces a batch provider for file checks in scorecard. I took most of the logic from Patrick's POC (thanks again!), adjusted it and updated tests and the README file. The provider logs the values for now for testing purposes. When you test the PR locally, you can check the logs to verify that the values are correct.
This PR does not contain any frontend changes or changes to the aggregated metrics card, I will do this in a separate PR. This means that if you test these changes locally, the cards will not be showing up correctly in the UI, example here:

An example of a config for local testing:
Example of a console log for fetched data:

So to summarize, the changes that will be added in a future PR will include:
I'll be happy for any feedback, thank you in advance!
✔️ Checklist