[Thunderbird] Intermittent toolkit/components/featuregates/test/unit/test_FeatureGate.js | Thunderbird failure
Categories
(Toolkit :: FeatureGate, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | unaffected |
firefox128 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: Gijs)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell disable-recommended])
Attachments
(1 file)
Filed by: martin [at] humanoids.be
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461257161&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cT0Ci1dCSam7ZYFTDaCg4A/runs/0/artifacts/public/logs/live_backing.log
It seems the patch https://hg.mozilla.org/mozilla-central/rev/1974e2a74ac39c641354390e542c0280c843380b#l4.22 added an import for Targeting.sys.mjs in messaging-system, which is only included in browser builds: https://searchfox.org/mozilla-central/rev/fa86401b80f19afb6ed9bfca127ecc5e3a6f0cdc/toolkit/components/moz.build#133-134
Comment 1•4 months ago
|
||
Set release status flags based on info from the regressing bug 1896187
:Gijs, since you are the author of the regressor, bug 1896187, could you take a look?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•4 months ago
|
||
Do featuregates actually need to work in thunderbird? Does Nimbus work in TB? Nimbus already depends on this code and is also unconditionally built as part of toolkit ( https://searchfox.org/mozilla-central/rev/59d854a90e036cfa77f3c5b70c8c6ef1d60ebb98/toolkit/components/moz.build#136 ). I just copied part of it, and filed bug 1898012 about exactly this general issue - but I didn't think there was concrete breakage that I was creating that didn't previously exist.
Comment hidden (Intermittent Failures Robot) |
Comment 4•4 months ago
|
||
Nimbus isn't used in Thunderbird (not sure how much of it would just-work). It is included mostly since tests depend on it. (And we might want to utilize nimbus in the future.)
Comment 5•4 months ago
|
||
(In reply to :Gijs (he/him) from comment #2)
Do featuregates actually need to work in thunderbird?
We do depend on the masonry grid being available: https://searchfox.org/mozilla-central/rev/d3fea1aa852bb3a353a0a4a875c3685da11ce39b/toolkit/components/featuregates/Features.toml#20 and there's probably places in toolkit we use that are using feature gates - even if we don't care about flipping them.
Does Nimbus work in TB? Nimbus already depends on this code and is also unconditionally built as part of toolkit ( https://searchfox.org/mozilla-central/rev/59d854a90e036cfa77f3c5b70c8c6ef1d60ebb98/toolkit/components/moz.build#136 ).
I wonder if that code just isn't hit in tests then...
Assignee | ||
Comment 6•4 months ago
|
||
(In reply to Martin Giger [:freaktechnik] from comment #5)
(In reply to :Gijs (he/him) from comment #2)
Do featuregates actually need to work in thunderbird?
We do depend on the masonry grid being available: https://searchfox.org/mozilla-central/rev/d3fea1aa852bb3a353a0a4a875c3685da11ce39b/toolkit/components/featuregates/Features.toml#20
The value of the feature being enabled depends purely on the pref's value, which is not controlled directly by featuregates. You don't need featuregates for that.
and there's probably places in toolkit we use that are using feature gates - even if we don't care about flipping them.
I don't think there are - there's only about:support
because it lists enabled/disabled features, and that already bails out on android. It could be made to feature-detect instead, or also bail out on Thunderbird.
Does Nimbus work in TB? Nimbus already depends on this code and is also unconditionally built as part of toolkit ( https://searchfox.org/mozilla-central/rev/59d854a90e036cfa77f3c5b70c8c6ef1d60ebb98/toolkit/components/moz.build#136 ).
I wonder if that code just isn't hit in tests then...
The tests are disabled in Thunderbird... https://searchfox.org/mozilla-central/rev/d3fea1aa852bb3a353a0a4a875c3685da11ce39b/toolkit/components/nimbus/test/unit/xpcshell.toml#6-9
So would an appropriate solution here be to just disable the featuregate tests too? And/or, unship featuregates entirely on thunderbird?
Assignee | ||
Comment 7•4 months ago
|
||
... and looks like Thunderbird's about:support also doesn't list featuregates:
Comment 8•4 months ago
|
||
(In reply to :Gijs (he/him) from comment #6)
The value of the feature being enabled depends purely on the pref's value, which is not controlled directly by featuregates. You don't need featuregates for that.
Ah great, so the feature gates infrastructure is to flip prefs.
I don't think there are - there's only
about:support
because it lists enabled/disabled features, and that already bails out on android. It could be made to feature-detect instead, or also bail out on Thunderbird.
We don't use the experimentalFeatures
snapshot, but yeah our about:support test is failing because the snapshot is currently being gathered.
So would an appropriate solution here be to just disable the featuregate tests too? And/or, unship featuregates entirely on thunderbird?
We would have to at least also bail out in about:support, at which point I guess it might make sense to match the state of it on android? I think because we don't intentionally consume it whatever makes the most sense from a toolkit perspective is the best way forward.
Assignee | ||
Comment 9•4 months ago
|
||
Well, the long-term fix is to architect this set of things better... but that's a substantial project and even at the end of this it sounds like TB doesn't benefit from shipping this code so it might as well not?
Assignee | ||
Comment 10•4 months ago
|
||
Updated•4 months ago
|
Comment 11•4 months ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 13•4 months ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•4 months ago
|
Description
•