Skip to content

Commit

Permalink
Log debug information about check suites
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov committed Mar 15, 2020
1 parent 9427899 commit e9975c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/org/cirruslabs/sq/SubmitQueueLogic.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class SubmitQueueLogic(val api: GitHubAPI) {
checkSuitesFlow.collect { checkSuite ->
checkSuites.add(checkSuite)
}
println("Found ${checkSuites.size} check suites: ${checkSuites}")
// first check if there is any suite that completed but not in a successful state to report it ASAP
checkSuites.firstOrNull { check -> !check.successful }?.also { failedCheck ->
return Conclusion(
Expand Down

0 comments on commit e9975c0

Please sign in to comment.