Page MenuHomePhabricator

[wm-checks-api] support EarlyWarningBot
Closed, ResolvedPublic

Description

Event Timeline

A gr-message message looks like:

{
  "id": "de6181c5525b53f346f9a04669d249352b4d1d80",
  "tag": "autogenerated:earlywarning",
  "author": {
    "_account_id": 10570,
    "name": "EarlyWarningBot",
    "email": "kharlan+earlywarningbot@wikimedia.org",
    "username": "earlywarningbot"
  },
  "real_author": {
    "_account_id": 10570,
    "name": "EarlyWarningBot",
    "email": "kharlan+earlywarningbot@wikimedia.org",
    "username": "earlywarningbot"
  },
  "date": "2023-02-28 13:45:07.000000000",
  "message": "Patch Set 7:\n\nFailed job:\n \"Run Post-dependency install, pre-database dependent steps in parallel (concurrency=3):\n* PHPUnit unit tests\n* Install MediaWiki, db=<MySQL /workspace/db/quibble-mysql-svrckbnt/socket> vendor=True\n* npm install in /workspace/src\"\nSee https://integration.wikimedia.org/ci/job/wmf-quibble-vendor-mysql-php74-docker/15240//consoleFull",
  "accounts_in_message": [],
  "_revision_number": 7,
  "_index": 37,
  "expanded": true,
  "commentThreads": [],
  "isImportant": true
}

Change 894099 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/software/gerrit@deploy/wmf/stable-3.5] wm-checks-api: support the Early Warning bot

https://gerrit.wikimedia.org/r/894099

When browsing the Check UI that looks like:

earlywarning_checkui_collapsed.png (141×773 px, 25 KB)

And clicking to uncollapse the message gives:

earlywarning_checkui.png (572×790 px, 99 KB)

Which shows the whole message.

Change 894099 merged by jenkins-bot:

[operations/software/gerrit@deploy/wmf/stable-3.5] wm-checks-api: support the Early Warning bot

https://gerrit.wikimedia.org/r/894099

Mentioned in SAL (#wikimedia-operations) [2023-03-24T05:20:54Z] <hashar@deploy2002> Started deploy [gerrit/gerrit@c1cbda4]: Update js plugins for EarlyWarning bot (T330850) and displaying Zuul status on changes (T241068)

Mentioned in SAL (#wikimedia-operations) [2023-03-24T05:21:01Z] <hashar@deploy2002> Finished deploy [gerrit/gerrit@c1cbda4]: Update js plugins for EarlyWarning bot (T330850) and displaying Zuul status on changes (T241068) (duration: 00m 07s)

Mentioned in SAL (#wikimedia-operations) [2023-03-24T05:25:58Z] <hashar@deploy2002> Started deploy [gerrit/gerrit@c1cbda4]: Update js plugins for EarlyWarning bot (T330850) and displaying Zuul status on changes (T241068)

Mentioned in SAL (#wikimedia-operations) [2023-03-24T05:26:08Z] <hashar@deploy2002> Finished deploy [gerrit/gerrit@c1cbda4]: Update js plugins for EarlyWarning bot (T330850) and displaying Zuul status on changes (T241068) (duration: 00m 10s)

hashar claimed this task.

I went to pick the latest change "reviewed" by EarlyWarningBot via https://gerrit.wikimedia.org/r/q/reviewer:EarlyWarningBot

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/895801/8 had an early failure reported which now shows in the Checks tab:

gerrit_check_api_earlywarningbot.png (478×744 px, 66 KB)