Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#154: Correctly report more than 50 issues to Github #177

Merged
merged 1 commit into from
May 31, 2020
Merged

Conversation

mc1arke
Copy link
Owner

@mc1arke mc1arke commented May 31, 2020

The previous fix for any pull request that had more than 50 issues had allowed an initial check run to be created, and then submitted the next batch of 50 issues to Github but failed to parse the response properly, so threw an error at that point, subsequently only submitting 100 issues to Github for each scan before causing the Compute Engine task to fail. The correct type is now being specified for the parse of Github's response, and unnecessary fields in the expected response object have been removed to allow the response to be parsed properly.

The previous fix for any pull request that had more than 50 issues had allowed an initial check run to be created, and then submitted the next batch of 50 issues to Github but failed to parse the response properly, so threw an error at that point, subsequently only submitting 100 issues to Github for each scan before causing the Compute Engine task to fail. The correct type is now being specified for the parse of Github's response, and unnecessary fields in the expected response object have been removed to allow the response to be parsed properly.
@sonarcloud
Copy link

sonarcloud bot commented May 31, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@mc1arke mc1arke merged commit 2f50391 into master May 31, 2020
@mc1arke mc1arke deleted the issue/154-a branch May 31, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant