Closed
Bug 1372091
Opened 7 years ago
Closed 7 years ago
Turn off Leanplum on Beta and release
Categories
(Firefox for Android Graveyard :: Metrics, defect)
Firefox for Android Graveyard
Metrics
Tracking
(firefox55blocking fixed)
RESOLVED
INVALID
People
(Reporter: cnevinchen, Assigned: cnevinchen)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cnevinchen
Assignee | ||
Comment 1•7 years ago
|
||
Per discussion with releng.
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8876611 [details] Bug 1372091 - Turn off Leanplum on Beta and release. https://reviewboard.mozilla.org/r/147930/#review152272 ::: mobile/android/app/mobile.js:417 (Diff revision 1) > pref("ui.bookmark.mobilefolder.enabled", true); > #else > pref("ui.bookmark.mobilefolder.enabled", false); > #endif > > -#if MOZ_UPDATE_CHANNEL == nightly > +#ifndef RELEASE_OR_BETA if"""n"""def !? ::: mobile/android/app/mobile.js:417 (Diff revision 1) > pref("ui.bookmark.mobilefolder.enabled", true); > #else > pref("ui.bookmark.mobilefolder.enabled", false); > #endif > > -#if MOZ_UPDATE_CHANNEL == nightly > +#ifndef RELEASE_OR_BETA if"""n"""def !?
Assignee | ||
Updated•7 years ago
|
Attachment #8876611 -
Flags: review?(cbook)
Assignee | ||
Comment 4•7 years ago
|
||
Hi Tom. Could you please help review this? Since today is merge day, could you please help?
Flags: needinfo?(cbook)
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8876611 [details] Bug 1372091 - Turn off Leanplum on Beta and release. https://reviewboard.mozilla.org/r/147930/#review152288 I agree with Max that the mobile.js change looks wrong (why not simplify to a if channel == nightly: true pref, otherwise false pref ?). I'm not a legit reviewer for these changes, so I'm going to clear the request. You'll have to request uplift to beta as the merge process has already begun.
Attachment #8876611 -
Flags: review?(nthomas)
Comment 6•7 years ago
|
||
looks fine for me but i'm not a expert in this area so i cannot give r+ or so in this case
Flags: needinfo?(cbook)
Assignee | ||
Comment 7•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8876611 [details] Bug 1372091 - Turn off Leanplum on Beta and release. https://reviewboard.mozilla.org/r/147930/#review152288 I've fixed the error. I want to make bebug build also have this pref on, so I add the extra check.
Comment hidden (mozreview-request) |
Comment 9•7 years ago
|
||
Mark 55 as blocking as we have to turn off the Leanplum on beta/release and this has to be in 55.0b1.
tracking-firefox55:
--- → blocking
Updated•7 years ago
|
Attachment #8876611 -
Flags: review?(cbook)
Hi Nevin, Snorp, I was under the assumption that LeanPlum and other bits of code for MMA SDK were behind a pref/switchboard flag and therefore not riding to Beta55. Is that incorrect? We are currently blocking on gtb beta1 until this is confirmed. Thanks!
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8876611 [details] Bug 1372091 - Turn off Leanplum on Beta and release. https://reviewboard.mozilla.org/r/147930/#review152508 This looks correct to me. ::: mobile/android/app/mobile.js:417 (Diff revision 2) > pref("ui.bookmark.mobilefolder.enabled", true); > #else > pref("ui.bookmark.mobilefolder.enabled", false); > #endif > > -#if MOZ_UPDATE_CHANNEL == nightly > +#ifdef RELEASE_OR_BETA It's so complicated to differentiate these channels, but my reading suggests this is correct. ::: mobile/android/config/mozconfigs/common:71 (Diff revision 2) > fi > > # MOZ_ANDROID_MMA depends on --with-leanplum-sdk-keyfile, and there's no default > # keyfile set, so if we misconfigure beta or release, the builds will fail (at > # configure time). > -if test "$MOZ_UPDATE_CHANNEL" = "release" ; then > +if test "$MOZ_UPDATE_CHANNEL" = "nightly" ; then It's always safe to set the Leanplum SDK keyfile, and it serves to document what files are expected to be where, so don't remove this block.
Attachment #8876611 -
Flags: review?(nalexander) → review+
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #12) > Created attachment 8876864 [details] > Bug 1372091 - Turn off Leanplum on Beta and release. a=ritu > > This disables the compiled (Java) and interpreted (JavaScript) code > for mozilla-beta. > > I cannot at this time determine a /nightly mozconfig that enables the > compiled (Java) code in Nightly and developer builds while disabling > it in Release and Beta. > > Review commit: https://reviewboard.mozilla.org/r/148188/diff/#index_header > See other reviews: https://reviewboard.mozilla.org/r/148188/ ritu: RyanVM: this applies to mozilla-beta; I can't determine a cross-tree solution (see commit comment). This disables both the JS and the Java sides, which seems like the right way to turn the feature off (if we're really trying to turn it off). I don't know why Nevin didn't do this in his approach. NI only to ritu, who can work with RyanVM to land on his schedule.
Flags: needinfo?(ryanvm)
Flags: needinfo?(rkothari)
Comment 14•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/ddde9a807752
Comment 15•7 years ago
|
||
Comment on attachment 8876864 [details] Bug 1372091 - Turn off Leanplum on Beta and release. a=ritu I reviewed the initial patch, and produced the follow-up, which has landed.
Attachment #8876864 -
Flags: review?(nalexander)
Thanks Nick for helping with this one so promptly!
Flags: needinfo?(rkothari)
Assignee | ||
Comment 17•7 years ago
|
||
Hi Nick! Thanks for your prompt support as always! Hi Ritu You are right. Switchboard can turn off Leanplum. And this bug is to turn off Leanplum using a Gecko preferene even before Switchboard initialization.(Double safety) The original idea is to let Leanplum still works at Nightly. I’m not sure it will still be the case after Nick’s patch. If so, I’d rather just use switchboard to turn off Leanplum on Beta cause we still want it on Nightly.
Flags: needinfo?(cnevinchen)
Comment 18•7 years ago
|
||
> The original idea is to let Leanplum still works at Nightly.
> I’m not sure it will still be the case after Nick’s patch.
> If so, I’d rather just use switchboard to turn off Leanplum on Beta cause we
> still want it on Nightly.
The patch has landed on mozilla-beta only, so Nightly should work as it does now. Of course, we'll need to do this dance again for the _next_ uplift, but hopefully we can improve the situation in the meantime.
Comment 19•7 years ago
|
||
As we discussed on IRC yesterday, I'm still hoping we can come up with a better option than having to manually land a patch on Beta post-uplift at the beginning of each cycle :)
Flags: needinfo?(ryanvm)
Flags: needinfo?(snorp)
Updated•7 years ago
|
Attachment #8876611 -
Flags: review?(max) → review?(cbook)
Updated•7 years ago
|
Attachment #8876611 -
Flags: review?(cbook)
Comment 20•7 years ago
|
||
Hi Max, i can't review this change since i don't know the code.
Assignee | ||
Comment 21•7 years ago
|
||
Leanplum should go to beta now. I think this bug could be closed. BTW, I can't find Leanplum code in Beta APK (even the newly-56 added package org.mozilla.gecko.mma ), do you know whom I should speak to? Thank you!
Flags: needinfo?(wehuang)
Flags: needinfo?(rkothari)
Flags: needinfo?(max)
Assignee | ||
Comment 22•7 years ago
|
||
Oh.. My problem was Beta was still on 55 yesterday. Everything is normal now.
Flags: needinfo?(wehuang)
Flags: needinfo?(rkothari)
Flags: needinfo?(max)
Assignee | ||
Comment 23•7 years ago
|
||
Leanplum is on beta 56 so we don't need this bug anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•