Changes

Jump to: navigation, search

Release Management/Uplift rules

551 bytes added, 15:30, 10 May 2021
update patch uplift rules
This page describes the rules applied by the Release Team to uplift (aka backport) a patch from a development branch to a more stable branch. For example, taking a patch that fixes a bug in Nightly and applying it to the beta branch. The [[Release_Management/Tracking_rules|release tracking rules]] page may also be helpful for understanding how release management makes decisions.
All [https://developerfirefox-source-docs.mozilla.org/en-US/docs/Developer_Guidecontributing/How_to_Submit_a_Patch how_to_submit_a_patch.html regular guidelines] for changes apply.
=General=
* Uplifts are requested in the ''Details'' page of the attachment, ''Flags'' section which should be updated.
* If a patch is considered as risky and impacts beta, please make sure that the other responsible is aware of the uplift.* For a risky patch, don't hesitate to set the keyword "verifymeqe-verify" flag to "+" to make sure someone will check if the bug is actually fixed.
* The name/nickname of the release manager who approved the uplift will be added in the commit message with ''a='' (example: ''a=foobar'')
= Guidelines on approval comments =
* [Feature/regressing bug #]: If this is a fallout from a feature/bug, or a backout please state the reason along with the bug number
* [User impact if declined]: In addition to the STR (steps to reproduce) reported in the bug if you can explain on a deeper level aspect of how an end user would be impacted with/without your change
* [Describe test coverage newIs this code covered by automated tests?] Yes/current, TBPL]: What kind of testing was completed here. Manual andNo/or automated ? Any details about what scenarios Unknown* [Has the tests coverfix been verified in Nightly? If ] Was the patch landed on fix verified in a master/central branch or any other branch did we get verification from nightly build, e.g. by the reporter or QA?* [Risks and whyNeeds manual test from QE?]: Yes/No risk/Zero risk are unacceptable ** [If yes, steps to reproduce] Either point to an existing comment listing STR or elaborate heredirectly. Even a single line * [List of code other uplifts needed] If this patch depends on other changes that are not present on the target branch, list them here (and request approval in the other bugs as well)* [Risk to taking this patch]: Low/Medium/High* [Why is the change could be damaging!, yes we've seen thatrisky/not risky? (and alternatives if risky)]** When saying something is "low", "medium", or "riskyhigh" risk please justify** Eg E.g.: Low risk because its a one line CSS change impacting only settings page** Eg E.g.: Medium, given the code complexity and integration with other areas of code that might be impacted. Expect regressions in areas like...** Eg E.g.: Risky, given the complex nature the bake time we have have on master/central or other branches. High rate of fallouts/regression. Could be mitigated by more manual testing in areas or running some targeted test cases... If the issue could be worked around by disabling a certain feature, or with a different, less-risky, patch for uplift, mention this here.* [String/UUID change changes made/needed]: Please answer this as "none" if no string changes were made. String changes need to be approved by a l10n driver since they impact the work of localization teams.
= Firefox (Desktop and Mobile) =
* Ideally reproducible by QA so easily verified
* Has 'baked' on m-c and demonstrated decrease in crash or reproducibility
* No string changes, unless approved by l10n driver
Changes can be:
* Top-crashers
* Recent regressions
* Low risk improvements early in the cycle
* Enabling features that have been validated/tested by QA, or have already shipped e.g. through a normandy rollout.
The closer to the release the more careful uplift should be done.
==Release Uplift==
Some issues are bad enough that we don't want to wait till until the next major release. We do major releases every 6-8 4 weeks. Most fixes can wait that long. Candidates for uplift to release may be drivers of a dot release, or may be "ridealongs" nice but not crucial to have. If it would be a release blocker, it might be a good dot release driver.
Each dot release will mean annoyance for users, and will also result in an increased chance for some users of being "orphaned" on that version.
"Ridealongs" or any extra fixes increase the chance that we will cause a new regression that may need another fix and uplift, or even drive another dot release.
For uplift requests to release, please give as much data as possible to help with the decision. It is also helpful if you can specify if your fix affects desktop, fennecandroid, or both.
Examples include:
* Major top crash (above or near the level for oom crashes). Provide evidence of impact.
* High volume startup crash.
* If patches only make changes to tests, test harnesses or anything else that does not affect the shipped builds, they may land with self approval (use a=testonly, a=npotb etc).
** In that case, instead of setting the "approval-mozilla-beta" flag on the patch, you can add "[checkin-needed-beta]" in the bug's "whiteboard" field.
=Security fixes=
287
edits

Navigation menu