jenkins-infra / jenkins-contribution-extractor

Retrieves Jenkins Community related data points that help to evaluate community health.
MIT License
0 stars 2 forks source link

honor sometimes fails #46

Open gounthar opened 1 month ago

gounthar commented 1 month ago
Run docker run --rm \

no specific target month supplied. Taking the previous month.
Output file: data/honored_contributor.csv
Checking input file data/pr_per_submitter-2024-04.csv
  - Header is correct
  - At least one Submitter data available
  - Picked record [12](https://github.com/gounthar/jenkins-submitter-stats/actions/runs/9255246902/job/25458637731#step:5:13)0 : kyle-leonhard - 1 PRs
Error: Expected PR number does not match query's PR number. (1 vs. 0)
Fetching data from GitHub
Error: Process completed with exit code 1.
jmMeessen commented 1 month ago

Still investigating... It appears that the PR by kyle-leonhard was CLOSED.

"jenkinsci","oidc-provider-plugin",36,"https://github.com/jenkinsci/oidc-provider-plugin/pull/36","CLOSED","2024-04-02T04:48:02Z","","kyle-leonhard","2024-04","Update parent pom to 4.80 and..."

Maybe the reason of the mismatch in queries.

jmMeessen commented 1 month ago

It appears that the GitHub V4 query I use for that functionality does not return the closed PR. I don't see an obvious reason for that.

This will require extra investigation