leric opened a new issue, #5544:
URL: https://github.com/apache/incubator-devlake/issues/5544

   ### 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
   
   Resolve some issues in sonarqube, would cause sonarqube sync task failure.
   
   ```
   Error running pipeline 36157.
   Wraps: (2) Error running task 37383.
     | Wraps: (2) subtask CollectIssues ended unexpectedly
     | Wraps: (3) error parsing response from issues/search
     | Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) 
*errors.errorString
   Error types: (1) *hintdetail.withDetail (2) *errors.errorString
   ```
   
   Possible cause is the ResponseParser function in CollectIssues, checking the 
UpdateDate of an issue, if it's updated after LastAnalysisDate, raise error 
"Your data is affected by the latest analysis\nPlease recollect this project:".
   
   The issue update date can get updated when manually set issue resolution in 
sonarqube, it doesn't mean the latest analysis is updated.
   
   ### What do you expect to happen
   
   Sync sonarqube data successfully
   
   ### How to reproduce
   
   Update issue status in sonarqube, then run a sonarqube sync task.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.17
   
   ### 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: [email protected]

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

Reply via email to