Deployments/Risky change template

From Wikitech
Jump to navigation Jump to search

You have a patch that you feel might cause problems on deployment: now what?

Below is an example template to add as a comment on a Phabricator train blocker task to alert the deployers that there are risky patches riding the deployment train.

Template

##### Risky Patch!  🚂🔥

* **Change**:  https://gerrit.wikimedia.org/r/0000000
* **Summary**:
** !! Why is it risky? !!
* **Test plan**:
** !! How will it be verified? !!
* **Places to monitor**:
** [Logstash: mediawiki-errors](https://logstash.wikimedia.org/app/kibana#/dashboard/mediawiki-errors)
** [Grafana: mediawiki-errors](https://grafana.wikimedia.org/d/000000438/mediawiki-exceptions-alerts)
* **Revert plan**: !!Rollback train, or Revert patch, or …!!
* **Affected wikis**:
```lines=10
testwiki
test2wiki
```
* **IRC contact**: `your_name`, `someone_else`
* **UBN Task Projects/tags**: #your_team

Example

##### Risky Patch!  🚂🔥

* **Change**:  https://gerrit.wikimedia.org/r/0000000
* **Summary**: (Why is it risky?)
** Big refactor in Foobar.
** Lots of callers to Foobar in extensions that are not all covered by tests.
* **Test plan**:
** FlaggedRevs are enabled on test2wiki. Mostly manual testing unfortunately and log watching.
* **Places to monitor**:
** [Logstash: mediawiki-errors](https://logstash.wikimedia.org/app/kibana#/dashboard/mediawiki-errors)
** [Grafana: mediawiki-errors](https://grafana.wikimedia.org/d/000000438/mediawiki-exceptions-alerts)
* **Revert plan**: Rollback train.
* **Affected wikis**:
```lines=10
alswiki
arwiki
bewiki
bnwiki
dewiki
enwiki
```
* **IRC Contact**: `Pchelolo`, `DannyS712`
* **UBN Task Projects/tags**: #core_platform_team
RiskyPatch.png