You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "leric (via GitHub)" <gi...@apache.org> on 2023/06/12 10:29:06 UTC
[GitHub] [incubator-devlake] leric opened a new pull request, #5443: fix: sonar issue collector time range split
leric opened a new pull request, #5443:
URL: https://github.com/apache/incubator-devlake/pull/5443
### Summary
Sonarqube issue collector will split result of issues/search by using createdBefore & createdAfter filter params, if the result exceed 100 pages.
The split end when createdBefore - createdAfter less than 1 second, which is createdBefore == createdAfter, and sonarqube api do not allow createdBefore and createdAfter to be equal. In some case sonar scanner failed to do backdating, all issues have same createdTime, the split will end up createdBefore == createdAfter, and fail with sonarqube api error.
This time range spliting don't need to be so acurate, this PR change the end condition to 10 seconds.
### Does this close any open issues?
Closes #5442
### Screenshots
Include any relevant screenshots here.
### Other Information
Any other information that is important to this PR.
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mappjzc merged pull request #5443: fix: sonar issue collector time range split
Posted by "mappjzc (via GitHub)" <gi...@apache.org>.
mappjzc merged PR #5443:
URL: https://github.com/apache/incubator-devlake/pull/5443
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org