mindlesscloud opened a new pull request, #3812:
URL: https://github.com/apache/incubator-devlake/pull/3812

   ### Summary
   fix #3720 ([Bug][Pipeline] GitHub pipeline failed when only CODE entities 
were specified)
   
   The reason for the bug was described in the comment on the original issue 
#3720, from where the quote below was taken 
   
   > The error was caused by the missing records in the table 
`_tool_github_pull_requests` during extracting PR review comments. Every 
subtask belongs to some domain type, for `ExtractApiPrReviewComments` it is 
`CODE`, and for `CollectApiPullRequests` it is `CODEREVIEW`. If we only collect 
the `CODE` entities, the pull requests will not be collected, this caused the 
original error. To fix this problem we need to set the domain type of 
`CollectApiPullRequests` to `CODEREVIEW`, in the same way as 
`CollectApiPullRequests`
   
   1. set `DomainTypes` of `CollectApiPrReviewCommentsMeta` to `CODEREVIEW`
   2. set `DomainTypes` of `ExtractApiPrReviewCommentsMeta` to `CODEREVIEW`
   
   ### Does this close any open issues?
   Closes #3720 
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to