Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2008-05-07 00:39:28
Size: 1506
Editor: mpm
Comment:
Revision 5 as of 2009-06-21 22:06:24
Size: 2952
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Bug statuses and what they mean: ==
= Managing Bugs =
== Definitions ==
=== Status levels: ===
Line 7: Line 8:
 * In-progress - a partial fix exists
 * Testing - a patch is merged, but poster has not confirmed it works
 * In-progress - a partial fix exist or fix exists but isn't yet integrated
 * Testing - a patch is merged, but poster has not confirmed it works, or it didn't reach the main repo yet
Line 10: Line 11:
 * Resolved - problem is fixed  * Resolved - problem is fixed or was not a bug
Line 12: Line 13:
== Priorities and what they mean: ==
=== Priorities: ===
Line 15: Line 15:
 * urgent - bug that is blocking development  * urgent - bug that's blocking development or is a regression
Line 20: Line 20:
== Triage == == How To Do Triage ==
=== Handling Individual Bugs ===
 * Respond to new bugs as quickly as possible, especially where more info would be useful
 * Make sure its priority is set appropriately
 * Make sure its title is useful (ie convert commands should mention the backend)
 * Add appropriate developers to nosey
 * Add appropriate topics
 * If it is a common issue, mark it as a duplicate
 * Bugs that have long been fixed in main should be marked resolved
 * Bugs that have been marked 'testing' can be marked resolved after two weeks if the user doesn't confirm earlier
 * Bugs that have recently accepted patches should be marked testing
 * Bugs with active work, including patches that aren't in main should be marked in progress
 * Bugs that require more info from the user should be marked need-eg
 * Bugs that remain in the need-eg state for an extended period may be closed
 * Features and wishes that have been decided against should move to done-cbb
Line 22: Line 36:
 Here's a useful [http://www.selenic.com/mercurial/bts/issue?@columns=title,id,activity,status,assignedto&@sort=status,activity&@group=priority&@filter=status,priority,status,priority&@pagesize=100&@startwith=0&status=-1,1,3,5&priority=1,2,3&@dispname=triage triage query] === Marking Duplicates ===
 * Choose whichever bug is resolved (or has a clear description) as the master
 * Set superseder on the duplicate to point to the master, add a note, and set the bug as resolved
 * If the master is not resolved, copy the nosy list from the duplicate and add a message pointing back to 'issueXXX'
Line 24: Line 41:
 * Sort open issues by priority and activity
 * Diagnose issues and add appropriate people to the nosy list
 * Merge duplicates by setting superseder in the more recent bug, copy its nosy list to the older bug, and add a pointer to the new issue in the old issue if it contains new info
 * Improve bug titles to be more informative
 * Add appropriate categories
 * Set appropriate priorities (eg degrade urgent issues with workarounds to bug)
 
=== Reducing Backlog ===
 * Close out bugs that have been in testing and need-eg state too long
 * Similarly, check if bugs marked in-progress are really in-progress
 * Sort open issues by priority and activity - here is a [[http://www.selenic.com/mercurial/bts/issue?@columns=title,id,activity,status,assignedto&@sort=status,activity&@group=priority&@filter=status,priority,status,priority&@pagesize=100&@startwith=0&status=-1,1,3,5&priority=1,2,3&@dispname=triage|triage]] and a [[http://www.selenic.com/mercurial/bts/issue?@columns=title,id,activity,priority,status&@sort=activity&@filter=status&@pagesize=100&@startwith=0&status=-1,1,2,3,4,5,6,7&@dispname=unloved|unloved]] query
 * Degrade long-standing bugs to features and features to wishes where appropriate

Managing Bugs

1. Definitions

1.1. Status levels:

  • Unread - no one's ever responded to this bug (bad)
  • Deferred - we've decided not to deal with this problem now
  • Chatting - we're discussing a solution
  • Need-eg - we need more information to progress
  • In-progress - a partial fix exist or fix exists but isn't yet integrated
  • Testing - a patch is merged, but poster has not confirmed it works, or it didn't reach the main repo yet
  • Done-cbb - (could be better or couldn't be bothered) not perfect, but we've done as much as we're going to do
  • Resolved - problem is fixed or was not a bug

1.2. Priorities:

  • critical - data loss or security issue
  • urgent - bug that's blocking development or is a regression
  • bug - bug that's not blocking development
  • feature - it's not a bug, it's a feature
  • wish - would be nice

2. How To Do Triage

2.1. Handling Individual Bugs

  • Respond to new bugs as quickly as possible, especially where more info would be useful
  • Make sure its priority is set appropriately
  • Make sure its title is useful (ie convert commands should mention the backend)
  • Add appropriate developers to nosey
  • Add appropriate topics
  • If it is a common issue, mark it as a duplicate
  • Bugs that have long been fixed in main should be marked resolved
  • Bugs that have been marked 'testing' can be marked resolved after two weeks if the user doesn't confirm earlier
  • Bugs that have recently accepted patches should be marked testing
  • Bugs with active work, including patches that aren't in main should be marked in progress
  • Bugs that require more info from the user should be marked need-eg
  • Bugs that remain in the need-eg state for an extended period may be closed
  • Features and wishes that have been decided against should move to done-cbb

2.2. Marking Duplicates

  • Choose whichever bug is resolved (or has a clear description) as the master
  • Set superseder on the duplicate to point to the master, add a note, and set the bug as resolved
  • If the master is not resolved, copy the nosy list from the duplicate and add a message pointing back to 'issueXXX'

2.3. Reducing Backlog

  • Close out bugs that have been in testing and need-eg state too long
  • Similarly, check if bugs marked in-progress are really in-progress
  • Sort open issues by priority and activity - here is a triage and a unloved query

  • Degrade long-standing bugs to features and features to wishes where appropriate

ManagingBugs (last edited 2015-03-11 18:18:47 by mpm)