How to Mark Regressions¶
For regression bugs in Mozilla-Central, our policy is to tag the bug as a regression, identify the commits which caused the regression, then mark the bugs associated with those commits as causing the regression.
What is a regression?¶
A regression is a bug (in our scheme a
defect) introduced by a
Marking a Regression Bug¶
These things are true about regressions:
Bug Type is
affectedfor each version (in current nightly, beta, and release) of Firefox in which the bug was found
The bug’s description covers previously working behavior which is no longer working [ed. I need a better phrase for this]
Until the change set which caused the regression has been found through
mozregression or another
bisection tool, the bug should also have the
Once the change set which caused the regression has been identified,
regressionwindow-wanted keyword and set the Regressed
By field to the id of the bug associated with the change set.
Setting the Regressed By field will update the Regresses field in the other bug.
Set a needinfo for the author of the regressing patch asking them to fix or revert the regression.
Previously we over-loaded the Blocks and Blocked By fields to
track the regression, setting Blocks to the id of the bug associated
with the change set causing the regression, and using the
regressionwindow-wanted keywords and the status
flags as described above.
This made it difficult to understand what was a dependency and what was a regression when looking at dependency trees in Bugzilla.
To be written