Clone this repo:


  1. 5d87469 Cleanup mendel flag from auth by Aravind Vasudevan · 8 days ago main master
  2. be22818 [tricium] Add Makefile. by Joanna Wang · 9 weeks ago
  3. 86e8744 Update auth to use Gerrit JWT by Aravind Vasudevan · 9 weeks ago
  4. 29a8e66 Add object type to parseRpcJson by Gavin Mak · 7 months ago
  5. 76848c6 Convert to TypeScript and Lit by Gavin Mak · 7 months ago

Tricium Plugin for Gerrit

Tricium is a code analysis service for Chromium. The purpose of this plugin is to integrate with the Gerrit UI, e.g. by displaying progress of analyzers.

Checking out the code

This plugin must be placed inside the Gerrit plugins directory. To check out the Tricium plugin code:

git clone --recurse-submodules
cd gerrit/plugins
git clone


Run the commands below in web/.

Running the tests

For running unit tests execute:

make test

For checking or fixing eslint formatter problems run:

make lint_test
make lint_fix

Running with PolyGerrit UI and production data

For testing the plugin with Gerrit FE Dev Helper the command below builds the JavaScript bundle and copies it to the plugins/tricium folder:

make build

and let the Dev Helper redirect from .+/plugins/tricium/static/tricium.js to http://localhost:8081/plugins_/plugins/tricium.js.

Project Configuration

This plugin is configured via the tricium.config file present in the repo's refs/meta/config ref. This file uses git config format. Example:

  tricium =