MDN/Development/Process: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The MDN development team loosely follows [http://en.wikipedia.org/wiki/Scrum_%28development%29 Scrum] to manage its work.
Version: 0.4


== Overview ==
== Purpose ==


We work in short development periods called <em>Sprints</em>. A Sprint starts with a Sprint Planning Meeting (see the section [[MDN/Development/Process#Planning_and_Retrospective_Meeting|Planning and Retrospective Meeting]]) and ends two weeks later.
This document provides an overview of the process that the MDN development team uses to manage its work. This process is based on [https://en.wikipedia.org/wiki/Kanban Kanban] and other techniques that the team finds to be helpful.


During each Sprint, we work on a subset of features important to the MDN. These features are captured in a list called a Sprint Backlog (see the section [[MDN/Development/Process#Sprint_Backlogs|Sprint Backlogs]]).
== Summary ==


== Documents ==
Users and other stakeholders can request changes to the MDN at any time by [https://bugzilla.mozilla.org/form.mdn filing a bug on Bugzilla]. The MDN project manager occasionally reviews these requests and, based on priorities that are identified, chooses some for the team should complete. For each of these, a new Kanban card is created and added to a phase called ''Selected''. Over time, these cards move out of ''Selected'' and through four other phases in order: ''Research & Design'', ''Development'', ''Review & QA'', and ''Released''.


=== Product Backlog ===
<span id="bugzilla-ssot"></span>


Our [http://is.gd/NkQHkd Product Backlog] is maintained on Bugzilla.
The team uses Kanbanery and Bugzilla to manage this process. Each Kanbanery card refers to the Bugzilla bug (created by the ''Mozilla Developer Network Feedback'' form) that describes the original request. The team uses the bug to collaborate as progress is made. For example, the team uses the bug to share designs and hold technical discussions.


The <em>Product Backlog</em> is a large list of features that we plan to build, prioritized by a combination of thoughts from the development team, feedback from users, and strategic planning. Priorities are re-evaluated according to these criteria before each Sprint.
When a phase is completed (see the section [[#Phases|Phases]]), the card is marked as ''Ready'' in Kanbanery. At any point, a team member working in the next phase can pull a ''Ready'' card into his phase and begin working on it. Phases are not skipped when a card is moved. If a phase is not needed for a particular card, the group responsible for that phase simply marks the card as ''Ready'' immediately after it is pulled in.


Oour Product Backlog is currently very large and somewhat difficult to understand. We are planning to soon reorganize it to make it more understandable to people outside of the development team.
All requests go through this process. The team can elect to work on any requests that interest them by contributing to priority discussions.


==== Organization ====
== Phases ==


At times, features in the Product Backlog can become unnecessarily broad or vague. To avoid this, John should break features down into smaller actions when necessary. For example, he might break up a feature about searching for demos by creating subtasks like"Create a mockup for demo searching" and "Research the tools that we could use to power demo searches".
=== Selected ===


=== Sprint Backlogs ===
One card is added to this phase for each change that should be completed soon.


Our [[http://scrumbu.gs/t/mdn/ Sprint Backlogs]] are maintained on Scrumbugs.
=== Research & Design ===


At each Sprint Planning Meeting, we look at the highest priority features on the product backlog and decide which ones we should complete during the upcoming Sprint. We capture these features in a list called the <em>Sprint Backlog</em>. Each Sprint has its own Sprint Backlog.
The team investigates a technical solution to the change. The team also decides if the change is small enough to be implemented without a detailed design, if a detailed design is needed before development beings, or if the feature is so big that it should be implemented behind a feature flag (allowing the team can iterate on it over time). The card is marked as ''Ready'' when the team feels comfortable starting development.


=== Daily Scrum ===
=== Development ===


We record our [http://standu.ps/project/mdndev Daily Scrums] with Standups.
The development team implements the change. The card is marked as ''Ready'' after a pull request is submitted for the change.


We use a status reporting service called [http://standu.ps/ Standup] to share our progress during a Sprint. We post status updates occasionally as important work is completed. If someone is having a hard time making progress on a task, he adds the <code>#blocked</code> tag to his status report so that John can help.
=== Review & QA ===
 
The development team completes a code review and a spot check. Sometimes, additional quality assurance is completed and sign-off is requested from the person (or group) who signed off on the detailed design. The team considers not only functionality but also security, performance, and other important factors during this phase. The card is marked as ''Ready'' when the team is confident that the change works as designed and meets other quality standards.
 
=== Released ===
 
A card is moved here when the corresponding change is pushed to the production server.
 
== Card Management ==
 
=== Work in Progress Limits ===
 
The team uses Work in Progress (WIP) limits to limit the amount of work being done at a given time. A card is not pulled into a new phase if its limit has already been reached.
 
{| class="wikitable" style="background-color: transparent"
! scope="col"| Phase
! scope="col"| WIP Limit
|-
|Selected
|6
|-
|Research & Design
|4
|-
|Development
|5
|-
|Review & QA
|3
|}
 
=== Work Types ===
 
Cards are grouped into three different work types.
 
* BLOCKER - a severely critical defect on the production site; these should interrupt other work
* BUG - a defect affecting the production site
* FEATURE - a new feature
* CHANGE - a change to an existing feature
* DEV - a task to make developers happier
 
=== Size ===
 
Cards are roughly equal in size. If a request seems particularly big, the project manager works with the team to identify a smaller piece to start on. A card is created for that piece and added to the ''Selected'' column. The process is then repeated until the entire request is completed.
 
=== Assignment ===
 
Every card is assigned to someone in Kanbanery, with the exception of cards in the ''Selected'' phase. Assignment is self-directed. The person assigned to a card is not necessarily the only person working on it, but the person ultimately responsible for ensuring that the card becomes ''Ready''.
 
When a person is no longer working on a card, he changes the assignee to ''nobody''. At any point, another team member can assign one of these cards to himself and begin working on it.
 
=== Deadlines ===
 
The ''Deadline'' feature of Kanbanery is used to highlight changes that have hard deadlines. The team and project manager pay special attention to these cards to ensure they are completed on time.
 
=== Subtasks ===
 
The team is encouraged to use the ''Subtask'' feature of Kanbanery to break work into more manageable pieces.
 
=== Blockers ===
 
If a card cannot move forward until some other work is done, that other work is marked as a ''Blocker'' in Kanbanery. The blocker might be another card, the address of a Bugzilla bug, or even just a written description of the impediment.


== Meetings ==
== Meetings ==


=== Planning and Retrospective Meeting ===
=== Priority meeting ===
 
The product manager and project manager meet every two weeks to discuss priorities. Over time, other MDN stakeholders will be invited to this meeting to inform priority decisions.
 
== Planning and Retrospective meeting ==
 
The development team, product manager, project manager and interested users meet every two weeks to discuss process improvements and review the state of development.


We meet as a team once every two weeks for a Planning and Retrospective Meeting. This meeting is broken down into two parts.
== Working with contributors ==


==== Retrospective ====
The project manager lists himself as a mentor in bugs that seem like good candidates for contributors. Contributors are encouraged to choose bugs from this list, but can work on any other bugs that interest them.


During this part of the meeting, we discuss aspects of our process that have been working well, and aspects of our process that could use improvement. John updates this page based on our discussions.
== Tracking Progress ==


==== Planning ====
=== Visual Overview ===


In the second part of the meeting, we build a new Sprint Backlog by looking at the Product Backlog and deciding which of the features we should complete in the upcoming Sprint. We plan for about two-thirds of our [https://docs.google.com/spreadsheet/ccc?key=0AtSmmChL-hpUdFNXeFVwbmZGMDFzbUhVQS1oQ0FnbFE&pli=1#gid=1 Sprint velocity] (the amount of work we normally complete in a Sprint), and leave the last third open for other features that developers choose based on their interests.
The [https://mdn.kanbanery.com/projects/32137/board/?key=0383ba5f05e165e0eb19d8476654fe9775ce2ca7 best indication of progress] is the visual overview provided by Kanbanery.


After building the Sprint Backlog, we play [http://en.wikipedia.org/wiki/Planning_poker Planning Poker] to discuss the features in more detail and estimate how long it will take us to complete them. If Planning Poker reveals that we taken on more or less work than we usually complete, we add or remove features to the Sprint Backlog accordingly.
=== Written Overview ===


== Working ==
The team sometimes communicates [http://standu.ps/project/mdndev more detailed progress] using Standup.


Between the start of the Sprint and the end of the Sprint, the development team works on the features that they added to the Sprint Backlog. When a developer knows that he will be working on a particular feature, he assigns that feature to himself. When he knows that he will no longer work on it, he updates the feature to be unassigned so that someone else can begin working on it.
=== Notifications ===


== Updating the MDN ==
The team publishes several RSS feeds that stakeholders can subscribe to for notifications about progress. The status of a card might change by the time a notification is seen, so subscribers are encouraged to always consult the corresponding Kanban card for the most up-to-date information.


During the sprint, we occasionally add our new features to the MDN by pushing code to our production server. We push about once per week (usually on Tuesdays or Thursdays) and avoid pushing on Mondays and Fridays.
* [http://pipes.yahoo.com/pipes/pipe.run?_id=a3d378990547aff38f71f3874fb99b73&_render=rss All team progress]
* [http://pipes.yahoo.com/pipes/pipe.run?_id=635225e2ec8e20390f63d44e2bf52dc0&_render=rss Changes that are ''Ready'' to be pulled into the next phase]
* [http://pipes.yahoo.com/pipes/pipe.run?_id=31bcc67c8ed29426bd10e889850332a0&_render=rss Changes that are being designed]
* [http://pipes.yahoo.com/pipes/pipe.run?_id=de2003d8825b98844ceacda135a3ffcb&_render=rss Changes that have moved into a new phase]
* [http://pipes.yahoo.com/pipes/pipe.run?_id=5cf8dd8eb931c1494aa8f9bc954a1dac&_render=rss Changes that have been released]

Latest revision as of 23:25, 8 July 2014

Version: 0.4

Purpose

This document provides an overview of the process that the MDN development team uses to manage its work. This process is based on Kanban and other techniques that the team finds to be helpful.

Summary

Users and other stakeholders can request changes to the MDN at any time by filing a bug on Bugzilla. The MDN project manager occasionally reviews these requests and, based on priorities that are identified, chooses some for the team should complete. For each of these, a new Kanban card is created and added to a phase called Selected. Over time, these cards move out of Selected and through four other phases in order: Research & Design, Development, Review & QA, and Released.

The team uses Kanbanery and Bugzilla to manage this process. Each Kanbanery card refers to the Bugzilla bug (created by the Mozilla Developer Network Feedback form) that describes the original request. The team uses the bug to collaborate as progress is made. For example, the team uses the bug to share designs and hold technical discussions.

When a phase is completed (see the section Phases), the card is marked as Ready in Kanbanery. At any point, a team member working in the next phase can pull a Ready card into his phase and begin working on it. Phases are not skipped when a card is moved. If a phase is not needed for a particular card, the group responsible for that phase simply marks the card as Ready immediately after it is pulled in.

All requests go through this process. The team can elect to work on any requests that interest them by contributing to priority discussions.

Phases

Selected

One card is added to this phase for each change that should be completed soon.

Research & Design

The team investigates a technical solution to the change. The team also decides if the change is small enough to be implemented without a detailed design, if a detailed design is needed before development beings, or if the feature is so big that it should be implemented behind a feature flag (allowing the team can iterate on it over time). The card is marked as Ready when the team feels comfortable starting development.

Development

The development team implements the change. The card is marked as Ready after a pull request is submitted for the change.

Review & QA

The development team completes a code review and a spot check. Sometimes, additional quality assurance is completed and sign-off is requested from the person (or group) who signed off on the detailed design. The team considers not only functionality but also security, performance, and other important factors during this phase. The card is marked as Ready when the team is confident that the change works as designed and meets other quality standards.

Released

A card is moved here when the corresponding change is pushed to the production server.

Card Management

Work in Progress Limits

The team uses Work in Progress (WIP) limits to limit the amount of work being done at a given time. A card is not pulled into a new phase if its limit has already been reached.

Phase WIP Limit
Selected 6
Research & Design 4
Development 5
Review & QA 3

Work Types

Cards are grouped into three different work types.

  • BLOCKER - a severely critical defect on the production site; these should interrupt other work
  • BUG - a defect affecting the production site
  • FEATURE - a new feature
  • CHANGE - a change to an existing feature
  • DEV - a task to make developers happier

Size

Cards are roughly equal in size. If a request seems particularly big, the project manager works with the team to identify a smaller piece to start on. A card is created for that piece and added to the Selected column. The process is then repeated until the entire request is completed.

Assignment

Every card is assigned to someone in Kanbanery, with the exception of cards in the Selected phase. Assignment is self-directed. The person assigned to a card is not necessarily the only person working on it, but the person ultimately responsible for ensuring that the card becomes Ready.

When a person is no longer working on a card, he changes the assignee to nobody. At any point, another team member can assign one of these cards to himself and begin working on it.

Deadlines

The Deadline feature of Kanbanery is used to highlight changes that have hard deadlines. The team and project manager pay special attention to these cards to ensure they are completed on time.

Subtasks

The team is encouraged to use the Subtask feature of Kanbanery to break work into more manageable pieces.

Blockers

If a card cannot move forward until some other work is done, that other work is marked as a Blocker in Kanbanery. The blocker might be another card, the address of a Bugzilla bug, or even just a written description of the impediment.

Meetings

Priority meeting

The product manager and project manager meet every two weeks to discuss priorities. Over time, other MDN stakeholders will be invited to this meeting to inform priority decisions.

Planning and Retrospective meeting

The development team, product manager, project manager and interested users meet every two weeks to discuss process improvements and review the state of development.

Working with contributors

The project manager lists himself as a mentor in bugs that seem like good candidates for contributors. Contributors are encouraged to choose bugs from this list, but can work on any other bugs that interest them.

Tracking Progress

Visual Overview

The best indication of progress is the visual overview provided by Kanbanery.

Written Overview

The team sometimes communicates more detailed progress using Standup.

Notifications

The team publishes several RSS feeds that stakeholders can subscribe to for notifications about progress. The status of a card might change by the time a notification is seen, so subscribers are encouraged to always consult the corresponding Kanban card for the most up-to-date information.