Closed Bug 1735721 Opened 3 years ago Closed 3 years ago

Move addons-search-detection in tree

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(firefox95 verified)

VERIFIED FIXED
95 Branch
Tracking Status
firefox95 --- verified

People

(Reporter: willdurand, Assigned: willdurand)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

We'd like to move the addons-search-detection system add-on in tree (in this folder) to be able to: (1) write some tests, (2) avoid the signing/Balrog processes in the future.

We don't have much plans to integrate some of the features of the add-on in a better place yet so there is value in simply transferring most of the existing code into browsers/extensions/ and write tests (in a different bug probably).

:mixedpuppy said it was OK to do it because the code of the extension on GitHub has been reviewed by both :mixedpuppy and :robwu already. Some additional build-related files/configs will be needed but that should be it.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [addons-jira]

Note: we should create a built-in add-on.

This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the BrowserGlue.jsm file).

Assignee: nobody → wdurand
Status: NEW → ASSIGNED
Blocks: 1736684
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b187514d31fc Move addons-search-detection in tree. r=mixedpuppy
Flags: qe-verify+

Looks like the test case does not support all the files we bundle for this add-on. I talked to :rpl and he told me to fix the test case as opposed to exclude the built-in add-on in this test case so I am going to do that now.

Flags: needinfo?(wdurand)
Depends on: 1736825
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80d2e27ea03f Move addons-search-detection in tree. r=rpl

Backed out for causing mochitests browser chrome failures on browser_startup_syncIPC.js.

Push with failures

Failure log

Backout link

Flags: needinfo?(wdurand)
Attachment #9246678 - Attachment description: Bug 1735721 - Move addons-search-detection in tree. r=mixedpuppy,rpl → Bug 1735721 - Move addons-search-detection in tree. r?florian!,mixedpuppy,rpl

I updated the patch to fix the issue in browser_startup_syncIPC.js. Not sure exactly why this happened right now but :florian agreed to add an exception in the test file for this add-on.

Flags: needinfo?(wdurand)
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90f87be213ac Move addons-search-detection in tree. r=rpl,florian
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Verified the patch on the latest Nightly 95 (95.0a1/20211021215643) under Windows 10 x64 and Ubuntu 16.04 LTS.

The “Add-ons Search Detection” add-on is now built-in Firefox. It’s listed in about:support under “Add-ons” with version 2.0.0, confirming the patch.

Status: RESOLVED → VERIFIED

Hello. This bug or Bug 1736825 has caused this regression. Can you please help with identifying which one might be the cause?

Flags: needinfo?(wdurand)
Flags: needinfo?(wdurand)

Hi,
Could you please tell me if it makes sense for these improvements to be caused by this patch?

== Change summary for alert #32142 (as of Wed, 27 Oct 2021 14:41:10 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
6% build times windows2012-32-shippable nightly taskcluster-m5d.4xlarge 1,951.29 -> 1,840.96
4% build times windows2012-64-shippable nightly taskcluster-m5.4xlarge 1,996.99 -> 1,923.03
4% build times osx-shippable nightly taskcluster-c5n.4xlarge 2,617.88 -> 2,524.89

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=32142

Here is a link with all the alerts in the same graph
https://treeherder.mozilla.org/perfherder/graphs?highlightAlerts=1&highlightChangelogData=1&series=autoland,2741922,1,2&series=autoland,2310089,1,2&series=autoland,2734448,1,2&timerange=2592000&zoom=1634606732479,1634860649898,1587.2015054889448,2882.455655980151

Flags: needinfo?(wdurand)

This added more to the build, so I don't think that this would cause an improvement.

Flags: needinfo?(wdurand)

(In reply to Shane Caraveo (:mixedpuppy) from comment #14)

This added more to the build, so I don't think that this would cause an improvement.

This appears to be the pushlog for the improvement range: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=fefc5982e76658e6d6dd49308c51dd8933542153&tochange=8de0d1e269d09e73d54b04213adce6ee0e5988ab.

Is there another revision that looks more likely to be the cause?

Flags: needinfo?(wdurand)

I would say the patch to upgrade the build system to clang-13 looks like the best candidate to affect build times:
https://hg.mozilla.org/integration/autoland/rev/dcb91b95f32bb7692169357bc6c8d1cfa81e34c1

Flags: needinfo?(wdurand)

(In reply to Tomislav Jovanovic :zombie from comment #16)

I would say the patch to upgrade the build system to clang-13 looks like the best candidate to affect build times:
https://hg.mozilla.org/integration/autoland/rev/dcb91b95f32bb7692169357bc6c8d1cfa81e34c1

Agreed, thanks!

See Also: → 1754790
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: