Search before asking
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?
Code of Conduct
Search before asking
What happened
github_graphql
Extract Jobstask fails to create records based on jobs collected in theCollect Job Runstask.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 Runstask, 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 Jobstask 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.Nodesalways being nil, causing no jobs to be extracted.Anything else
No response
Version
v1.0.2-beta6
Are you willing to submit PR?
Code of Conduct