Welcome to the August and September edition of the Engineering Effectiveness Newsletter! The Engineering Effectiveness org makes it easy to develop, test and release Mozilla software at scale. See below for some highlights, then read on for more detailed info!

   Highlights

 *

   All Hands!

 *

   We significantly improved the experience of users by shifting 50-60%
   of parent process crashes on Windows to content process crashes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1716727>.

 *

   PDF editing was released in 106, and the new feature was picked up
   by several press outlets!


   Detailed Project Updates


     Bugzilla and Bugbug

 *

   Suhaib implemented a feature for autonag to reduce bugmail by
   aggregating related bot changes before posting them on Bugzilla
   <https://github.com/mozilla/relman-auto-nag/pull/1613>.

 *

   Suhaib implemented a feature for autonag to detect mozregression
   results from bug comments and automatically set the "regressed by"
   field when possible
   <https://github.com/mozilla/relman-auto-nag/pull/1624>.

 *

   Suhaib implemented a script that gradually requests re-triaging bugs
   with old high-severity values
   <https://github.com/mozilla/relman-auto-nag/pull/1639>(i.e.,
   blocker, critical, or major).

 *

   Suhaib implemented a feature for autonag to detect bugs with low
   crash volume
   <https://github.com/mozilla/relman-auto-nag/pull/1643>to drop
   topcrash keywords and decrease the severity.


     Build System and Mach Environment

 *

   Starting with Bug 1746462
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1746462>you can use
   the mold linker for linking Mozilla Firefox on most Linux
   distributions. MacOS support will come shortly.


     CI and Treeherder

 *

   arai added a mitten icon to tasks on Treeherder to indicate there
   are both failed and successful runs for it on the same push, or
   intermittent if you will.

 *

   ahal implemented a public_restricted pull request policy
   
<https://github.com/taskcluster/taskcluster-rfcs/blob/main/rfcs/0175-restricted-pull-requests.md>in
   Taskcluster Github
   <https://github.com/taskcluster/taskcluster/pull/5569>and the
   Firefox-CI cluster
   
<https://hg.mozilla.org/ci/ci-configuration/rev/264f0a154aad612bbfba163f0d01fa201572e134>.

     o

       This allows projects to run non-sensitive tasks on contributor
       pull requests without exposing sensitive scopes.

 *

   Brenden landed a patch to reduce the retention of Taskcluster
   artifacts depending on the branch
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1649987>, which will
   result in huge cost savings.

     o

       Next steps will be to reduce retention even further for
       artifacts we don’t need to store that long, e.g. crash symbols.

 *

   Jmaher added a “new” button to treeherder
   <https://groups.google.com/a/mozilla.org/g/dev-platform/c/Z3STsQaxCGo>which
   should help give a signal for new failures not seen in the last 3 week.

 *

   masterwayz made lots of progress on the GCP migration, moving
   shippable builds
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1547111>and Android
   emulator tests
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1780219>from AWS over
   to GCP


     Crash Management

 *

   All of Ubuntu Snap channels (stable, beta, edge and ESR) should now
   have proper symbols and are integrated with the pipeline to keep
   them updated.


     Lint, Static Analysis and Code Coverage

 *

   code-review bot now has a retry mechanism when pushing to remote
   repositories and failure happens. It also detects try closures
   
<https://github.com/mozilla/libmozevent/commit/632a30289cc0bdc8d110ca2bcdb4a71a068a829d>and
   retries when try is open.

 *

   Integration between heroku and code-review bot is more streamlined
   when shutdowns happen.
   <https://github.com/mozilla/code-review/issues/1267>

 *

   When a base revision
   
<https://github.com/mozilla/libmozevent/commit/3a201a7e6bacd49d5e3e2e564188338084783d51>is
   missing for the code-review bot, a message is going to be displayed
   in Phabricator informing the developer about this.

 *

   code-review bot implements the Mozilla Dockerflow
   
<https://github.com/mozilla/code-review/commit/9df13022f5576192866a56a2eab6be1a7473de8f>supports.


     OS Integration and Security

 *

   Gabriele Svelto landed a change to our locking on macOS
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1670885>that
   significantly improves Firefox responsiveness on loaded systems.

 *

   Raymond Kraesig, in coordination with the Windows Spotlight team and
   Gabriele Svelto’s insight specifically, was able to shift 50-60% of
   parent process crashes on Windows to content process crashes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1716727>, which
   significantly improves the experience for our users. Instead of
   bringing down the whole browser, a user typically only needs to
   reload a tab. The team is looking at reducing the total number of
   OOM crashes next. This graph illustrates the steep dropoff in parent
   process crashes (blue):

Loading...

 *

   Bob Owen landed a change to use the WER runtime exception module to
   catch early crashes
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1682520>.

 *

   The Windows Spotlight team continued to address stability (1
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1733821>, 2
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1755700>, 3
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1777518>, 4
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1770098>, 5
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1774694>, 6
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1713160>), fullscreen
   (1 <https://bugzilla.mozilla.org/show_bug.cgi?id=1734759>),
   multi-monitor (1
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1614218>) and sizing
   (1 <https://bugzilla.mozilla.org/show_bug.cgi?id=1734759>, 2
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1614218>) issues.

 *

   Yannis Juglaret published mitimon
   <https://github.com/yjugl/mitimon>, a tool that will help us collect
   useful debug information from bug reporters when their issue is
   related to security mitigations and we have trouble reproducing it.


     PDF.js

 *

   PDF editing is enabled by default in 106, which was just released!

     o

       Next steps will be the ability to import signatures from images
       and the ability to highlight and comment.

 *

   Calixte fixed some serious pdf.js accessibility issues for HCM users
   <https://bugzilla.mozilla.org/show_bug.cgi?id=1726183>and keyboard
   users <https://bugzilla.mozilla.org/show_bug.cgi?id=1718665>


     Power use

 *

   The new power profiling feature got
   
<https://www.ghacks.net/2022/08/23/firefox-104-analyze-a-websites-power-usage-and-ui-throttling/>some
   <https://lwn.net/Articles/905788/>attention
   <https://www.green-coding.org/blog/firefox-104-energy-measurements/>when
   
<https://www.aroged.com/2022/08/25/new-in-firefox-104-website-energy-analysis-and-ui-throttling/>it
   
<https://www.computerbase.de/2022-08/mozilla-firefox-104-0-browser-release/>shipped
   
<https://zive.aktuality.sk/clanok/je6SJyi/firefox-104-je-realitou-vie-zobrazit-aj-spotrebu-elektrickej-energie/>in
   Firefox 104, including a blog post that reversed engineered it
   <https://davidmytton.blog/measuring-website-energy-consumption/>and
   wonders if/when a similar feature will appear in other browsers.

 *

   In addition to showing the instantaneous power, the profiler tooltip
   for power tracks now shows the energy used over the selected time range.


     Release Engineering and Management

 *

     S3 storage investigation

     o

       Archive.m.o cleanup

 *

   aki presented a Chain of Trust deep dive
   
<https://docs.google.com/document/d/1BvufZ9jOhQ4ioPshi2e1nxAeyf9YARzA-R4Kf77ac90/edit#>to
   help cross-train on this important topic

 *

   gabriel and ahal automated more of the VPN release pipeline with
   signing
   <https://github.com/mozilla-mobile/mozilla-vpn-client/pull/4104>and
   beetmover
   <https://github.com/mozilla-mobile/mozilla-vpn-client/pull/4140>tasks

 *

   gabriel and ahal also created a release pipeline for the new VPN
   addons by adding signing
   <https://github.com/mozilla-mobile/mozilla-vpn-client/pull/4403>,
   beetmover and a release promotion action
   <https://github.com/mozilla-mobile/mozilla-vpn-client/pull/4341>

 *

   String freeze date is now available in product-details

 *

   The l10n bumper now runs on autoland instead of mozilla-central


     mozregression

 *

   zeid made improvements to the CI workflow, including automating PyPI
   deployments, moving all CI to GitHub Actions including the building
   of Windows packages. Also upgraded PySide2 to PySide6, dropped
   support for Python 3.6, and cleaned up outdated and unmaintained
   packages.


     Other

 *

   ahal and Sylvestre proposed and created a new module for Firefox
   Source Docs
   
<https://firefox-source-docs.mozilla.org/mots/index.html#core-firefox-source-documentation>!

 *

   zeid moved module owner and peer definitions for Desktop Firefox,
   Toolkit, Core, and Testing to be in tree
   <https://searchfox.org/mozilla-central/source/mots.yaml>and the wiki
   pages are no longer used.


Thanks for reading and see you next month!

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/973d7c04-e385-8ece-8142-39ca18dc0ab6%40mozilla.com.

Reply via email to