MediaWiki Engineering/Runbook/Daily duties

From Wikitech

These are daily duties for weekly rotation among team members, as well as individual responsibilities that don't rotate.

Individual

For Phabricator tasks:

  • Generally continue work on tasks in progress (i.e. current sprint) before starting work on other tasks.
  • Review new comments on tasks you're subscribed to, especially comments that mention you or on tasks assigned to you. One approach is to use email notifications (how to: Reduce notifications).

For Gerrit code review:

  • Your patches: Review failing tests or comments addressed to you on your own patches. If a patch is not ready for review, mark it as WIP or abandoning it, which helps maintiners by excluding it from certain most code review listings.
  • Your reviews: Maintain awareness of patches that have specifically asked for your review. And, if you start reviewing a patch, review follow-up comments addressed to you.
  • Incoming: As maintainer of a component, maintain awareness of new patches. We generally focus only on patches that are open, have passing tests, and are not marked WIP. Other patches are not considered as publicly seeking review (if they need help during this stage, they may ask on Phab, IRC, or by asking an individual for review). If a new patch seems small enough and aligned with current direction, consider reviewing it yourself, or assigning it to a team mate. Otherwise, consider acknowledging the patch by leaving a comment and setting expectations.

One approach to code review is through a team-specific Gerrit dashboard (how to: Add Gerrit navigation link).

The "Your turn" section lists changes that are open, not-WIP, and have you in the "Attention Set". Gerrit automatically adds you to the attention set when a comment is addressed to you (on your own patch, or as follow-up on one of your reviews), and when new patches ask your review.

The "Incoming" sections are used for maintainers to spread the load of new reviews (avoid using mw:Git/Reviewers if you follow this approach, since it might cookielick patches and overload your personal assignments).

MediaWiki Platform Team

You can check who is on duty in the team's calendar or the scheduling spreadsheet. Both are restricted to WMF staff.

Individual

Rotating

  1. Maintain public presence on IRC (#mediawiki-core) and mailing lists (Wikitech-l). As our look-out, look for questions and announcements that relate to our team's work. Feel free to answer questions if you feel able to. Otherwise, consider bringing the question to the attention of others in the team.
  2. Triage new production errors
  3. Review ResourceLoader health
  4. (TODO) Review AuthManager/CentralAuth health