Contribute/Coding/Mentoring: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
This page is intended to describe what makes up a a good first bug, a good Mentored Bug, and to clarify expectations around what constitutes a good bug-mentoring relationship.  
This page is intended to describe what makes up a a good first bug, a good Mentored Bug, and to clarify expectations around what constitutes a good bug-mentoring relationship.  
After interviewing several of our engineers about the mentoring experience, it became clear that the most difficult parts of the mentoring experience are knowing when to - and feeling OK about - redirecting contributors who are struggling, out of their depth or dragging on unproductively.
The goal of this document is to help make it clear to new contributors what Mozilla's expectations are as far as readiness and experience are, and what the best practices are towards making a successful contribution, as well as to set out some guidelines for mentors about how to make the mentoring relationship work and how to positively direct a contributor towards a better fit when it isn't.


= Good First Bugs =  
= Good First Bugs =  
Line 26: Line 30:
We know for a fact that the single biggest influence on contributor retention is response time. Contributors whose contribution is acknowledged within the first two days - even if it is only to thank the contributor and say when it will be reviewed - will generally return to make a second contribution; wait two weeks, and they will not. Please follow up first-bug submissions promptly, and successful reviews with a note about what this contributor might want to work on next.
We know for a fact that the single biggest influence on contributor retention is response time. Contributors whose contribution is acknowledged within the first two days - even if it is only to thank the contributor and say when it will be reviewed - will generally return to make a second contribution; wait two weeks, and they will not. Please follow up first-bug submissions promptly, and successful reviews with a note about what this contributor might want to work on next.


= Good Mentored Bugs =  
= Good Next Bugs =  


There are three parts to a successful mentored bug: a clear initial description of the problem, clear expectations on the part of the both the mentor and contributor, and a cooperative working relationship as the bug is resolved.
These are a the next level up, where the challenge of the bug is actually fixing the bug. There are three parts to a well-described Good Next Bug: a willing mentor, a clear initial description of the problem, clear expectations on the part of the both the mentor and contributor, and a cooperative working relationship as the bug is resolved.


=== Clear Requirements ===
=== Clear Requirements ===


Above and beyond what normally makes up a good bug description, a good mentored bug should include:
Above and beyond what normally makes up a good bug description, a Good Next Bug should include:


* A broad description of what an acceptable solution to the bug would look like, in particular including any testing or validation requirements the contributor would need to include for their fix to land.  
* A broad description of what an acceptable solution to the bug would look like, in particular including any testing or validation requirements the contributor would need to include for their fix to land.  
* If possible, a [http://dxr.mozilla.org/mozilla-central/source/ link to DXR] or other relevant repo where the bug resides.
* If possible, a [http://dxr.mozilla.org/mozilla-central/source/ link to DXR] or other relevant repo where the bug resides.
* If possible, links to prior art - similar bugs in Bugzilla, similar tests in the tree.
* If possible, links to prior art - similar bugs in Bugzilla, similar tests in the tree.
= Diamond Bugs =
Marked as [diamond] on the whiteboard, this label doesn't speak to a bug's difficulty, but certainly speaks to its importance. Diamond bugs are bugs that have been brought up as candidate bugs for the Firefox Priority Backlog meetings, but  aren't assigned to an engineer by the end of the meeting.
A diamond bug should always have a mentor associated with it. These bugs are an organizational priority, and their successful completion is important; contributors taking on diamond bugs should do their best to communicate their progress frequently in the bug, and anyone mentoring a diamond bug should do their best to turn around a contributor's questions or feedback promptly.
= Experience Required =
These bugs are very hard.
Bugs flagged as [experience required] are generally bugs that live on the ragged corner-cases between between two different pieces of technology - JS and C++ on a specific architecture, or a philosophical disagreement between particular compiler and a particular set of registers on a particular CPU - that require a deep and fine-grained understanding of the technologies involved. We expect these bugs to take a great deal of time, patience and expertise to address.
These bugs must have a mentor associated with them, and while they are not typically going to be high-visibility bugs their completion of very high value to Mozilla, and we're very interested in having a long-term relationship with contributors who can complete them.


=== The Contributor's Role ===
=== The Contributor's Role ===


We want the contributor's participation in mentored bugs to be a good experience that's the start of a long-term relationship.   
We want the contributor's participation in any mentored bugs to be a good experience that's the start of a long-term relationship.   


* For mentored bugs, it is generally expected that you've your development environment set up, and that you have made some contributions to the Mozilla codebase before. Having successfully completed a Good First Bug is a good indication that you're ready; few mentored bugs, if any, will be good starting points for new contributors.
* For Good Next Bugs, it is generally expected that you've your development environment set up and that you have made some contributions to the Mozilla codebase before. Having successfully completed a Good First Bug is a good indication that you're ready; few if any good-next-bugs will be good starting points for new contributors.
* Regular communication with your mentor is important; your mentor needs confidence that the bug is moving in a good direction, and that you haven't gone into the weeds or lost interest. Please communicate with your mentor on IRC or via email at least once a week.  
* Regular communication with your mentor is important; your mentor needs confidence that the bug is moving in a good direction, and that you haven't gone into the weeds or lost interest. Please communicate with your mentor on IRC or via email at least once a week.  
** While this is at the discretion of mentor, a bug whose contributor goes radio-silent for more than two weeks will generally be deassigned and offered to other contributors.
* While this is at the discretion of mentor, a bug whose contributor goes radio-silent for more than two weeks will generally be deassigned and offered to other contributors.
*Respect the mentor's guidance, particularly with respect to patch submission and review; the successful integration of a mentored contributor's patch is as much a reflection on the mentor's guidance as on the work of the contributor.  
* Respect the mentor's guidance, particularly with respect to patch submission and review; the successful integration of a mentored contributor's patch is as much a reflection on the mentor's guidance as on the work of the contributor.  


=== The Mentor's Role ===
=== The Mentor's Role ===
Confirmed users, Bureaucrats and Sysops emeriti
421

edits

Navigation menu