Le 05/12/2022 à 14:27, Antoine Musso a écrit :
Hello,
On our Gerrit, CI results are displayed below the commit message as a HTML table. It is achieved by a few lines of JavaScript which parse the comments. I went to write a replacement based on a system builtin Gerrit: Checks API https://gerrit.wikimedia.org/r/Documentation/pg-plugin-checks-api.html .
<snip>
Hello,
I have deployed the new UI plugin on our Gerrit. It replaces the HTML table shown below the commit message by a few bubbles representing the state of tests for the latest patchset.
Details of the CI jobs are available in the "Checks" table next to "Files" and "Comments". There is a drop down that lets one browse CI runs for previous patchsets.
The job results are still available as comments and are the one triggering notifications or Verified +1/-1. The new UI comes on top of that to offer a slightly better representation.
If you find issues or have questions, please either:
- reply to this thread
- reach out to me on IRC (hashar on libera.chat in #wikimedia-releng)
- file a task in Phabricator against #gerrit ;)
Antoine "hashar" Musso