dosubot[bot] commented on issue #8383:
URL: 
https://github.com/apache/incubator-devlake/issues/8383#issuecomment-2805279884

   <!-- Greeting -->
   Hello @benduncan-tote! I'm [Dosu](https://dosu.dev), a bot here to help you 
tackle bugs, answer questions, and support your contributions. I'm here to 
assist while you wait for a human maintainer. Let's get started!
   
   <!-- Answer -->
   The issue you're encountering is due to a mismatch between the data format 
expected by the `Extract Jobs` task and the actual data collected by the 
`Collect Job Runs` task. The `Collect Job Runs` task collects data as check 
runs, while the `Extract Jobs` task expects this data to be in the form of 
check suites. This discrepancy results in 
`checkSuite.CheckSuite.CheckRuns.Nodes` being nil, preventing the extraction of 
job records.
   
   To resolve this issue, you need to modify the `Extract Jobs` task to handle 
check run data instead of check suite data. This involves updating the 
extraction logic to correctly process the structure of check runs collected by 
the `Collect Job Runs` task. You may need to adjust the data mapping and 
transformation logic to ensure that the check run data is correctly marshaled 
and mapped to the `_tool_github_jobs` table.
   
   Review the relevant sections of the code in `job_extractor.go` and 
`job_collector.go` to understand how the data is currently being processed and 
make the necessary adjustments to align the data formats between the two tasks.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/7f71b6f3-2ba4-4db8-812e-8cb9ac1950c3?feedback_type=other)</sup>
   


-- 
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

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

Reply via email to