Closed markrmullan closed 1 year ago
I'm so sorry for getting back to this so late, and thanks for the PR @markrmullan! π
The change itself looks good, but would you be able to also add a test case to ensure this fix actually works as intended?
I'm so sorry for getting back to this so late, and thanks for the PR @markrmullan! π
The change itself looks good, but would you be able to also add a test case to ensure this fix actually works as intended?
No problem @rytswd , thanks for your response! Will look into adding some tests today. Golang is not my strength, so please feel free to rip them apart, no offense will be taken π
I'm so sorry for getting back to this so late, and thanks for the PR @markrmullan! π
The change itself looks good, but would you be able to also add a test case to ensure this fix actually works as intended?
Hey there @rytswd ! Would you mind taking a second look at this, time permitting on your end? Thanks again π
Hi @markrmullan, absolutely, I've been looking into this just now π Give me some time to go through all βΊοΈ
Thank you very much for your work! π₯° This was meant to be something we added test cases to capture all possible scenarios, but it just looks like the test case was implemented incorrectly π₯²
Also, as I understood from your comment that you are not so versed with Go, I have added some extra notes about Go coding for future references -- I hope you don't get offended ππ
I am not versed in Go, so your notes are highly appreciated, thank you for such a thorough review, and will address these comments today!
Thank you very much for your work! π₯° This was meant to be something we added test cases to capture all possible scenarios, but it just looks like the test case was implemented incorrectly π₯²
Also, as I understood from your comment that you are not so versed with Go, I have added some extra notes about Go coding for future references -- I hope you don't get offended ππ
Again, thank you very much for all of your help and patience with a Golang newb! This is ready for another passthrough, as time permits on your end π
As all test cases are passing correctly with the fixed implementation, I'm merging this to get it into main
branch. We usually have it sit in main
branch while we use and test it internally -- if no issue found in a few days, we will cut a new release -- this one would be a patch release π
Thanks again, @markrmullan! π₯°
As all test cases are passing correctly with the fixed implementation, I'm merging this to get it into
main
branch. We usually have it sit inmain
branch while we use and test it internally -- if no issue found in a few days, we will cut a new release -- this one would be a patch release πThanks again, @markrmullan! π₯°
Thank you again for all of your work on this, @rytswd !
Hi there @rytswd ! Do you feel comfortable cutting a release for this change?
@markrmullan Thanks for the reminder, I have just released the new version v1.2.1! π₯°
@markrmullan Thanks for the reminder, I have just released the new version v1.2.1! π₯°
Thank you very much, again!
The pagination logic for fetching checks on PRs is incorrect, and on PRs having >100 checks (aka the current
maxStatusesPerPage
value) merge-gatekeeper gets stuck in an infinite loop until it typically fails due to hitting Github's rate limit. This PR fixes that logic to paginate status check requests properly.