ChecksSubmitRule: use Check#areAllRequiredCheckersPassing instead

The "IN_PROGRESS" combined check state isn't enough for
the submit rule to tell whether a change is submittable
or not. To resolve this, ChecksSubmitRule can simply
check whether all required checkers have passed through
"Checks#areAllRequiredCheckersPassing".

TODO: we need to find a way to initialize the
CombinedCheckStateCache, which was done by the
ChecksSubmitRule before this change.

Change-Id: Ib1926cb4d4c17966d729ea75b1fe6895f0fbd398
3 files changed
tree: 25950f595339d6d85d078322844d3e83c2869778
  1. gr-checks/
  2. java/
  3. javatests/
  4. proto/
  5. resources/
  6. BUILD
  7. LICENSE
  8. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.