benduncan-tote opened a new issue, #8383:
URL: https://github.com/apache/incubator-devlake/issues/8383

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   github_graphql `Extract Jobs` task fails to create records based on jobs 
collected in the `Collect Job Runs` task.
   
   ### What do you expect to happen
   
   Extract Jobs should correctly marshal the raw data and map it to the the 
_tool_github_jobs table
   
   ### How to reproduce
   
   For the `Collect Job Runs`  task, the raw data is a check run.
   
https://github.com/apache/incubator-devlake/blob/0ecfbb0304fba4ac3084eaced883592760c64cd1/backend/plugins/github_graphql/tasks/job_collector.go#L186-L200
   
   However, the `Extract Jobs` task expects the raw data to be a check suite.
   
https://github.com/apache/incubator-devlake/blob/0ecfbb0304fba4ac3084eaced883592760c64cd1/backend/plugins/github_graphql/tasks/job_extractor.go#L54-L91
   
   This results in `checkSuite.CheckSuite.CheckRuns.Nodes` always being nil, 
causing no jobs to be extracted.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v1.0.2-beta6
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to