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. BUILD
  2. LICENSE
  3. README.md
  4. gr-checks/
  5. java/
  6. javatests/
  7. proto/
  8. resources/
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.