Page MenuHomePhabricator

Improve Wikibase secondary CI message (Github Actions)
Closed, ResolvedPublic3 Estimated Story Points

Description

Currently this github actions message links to the workflow file and only tells you information about the PHP version for the job that is failing.

image.png (57×614 px, 5 KB)

It would be beneficial to provide a link to the failed run and also include other information such as the MW branch being tested

See Github docs at https://docs.github.com/en/actions/reference/environment-variables etc.

See CI at https://github.com/wikimedia/Wikibase/actions

Acceptance Criteria 🏕️🌟

  • Provide more useful information upon job failure
  • Link to the specific run that has failed

Event Timeline

Addshore renamed this task from Improve Wikibase secondary CI message to Improve Wikibase secondary CI message (Github Actions).Jun 30 2021, 8:28 AM
Addshore updated the task description. (Show Details)
Addshore triaged this task as Medium priority.Jun 30 2021, 8:42 AM
Addshore set the point value for this task to 3.Jun 30 2021, 10:32 AM

Change 703433 had a related patch set uploaded (by Ladsgroup; author: Ladsgroup):

[mediawiki/extensions/Wikibase@master] Add more information to failed job email of github actions

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

Ladsgroup added a subscriber: Ladsgroup.

It's a bit hard to test. I can start a job and then make it fail?

It's a bit hard to test. I can start a job and then make it fail?

You could test in a PR on GitHub opened with a failing job. (Be sure to change the to: email-adress so to not message everyone)

Change 703433 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add more information to failed job email of github actions

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

Resolving and I'm sure we will figure out if this needs tweaking the next time we get one of these messages.!