Add GeckoRuntimeSetting API to enable SHIP
Categories
(GeckoView :: General, enhancement, P1)
Tracking
(firefox132 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: agi, Assigned: olivia)
References
Details
(Whiteboard: [fission:android:m2] [geckoview:2022q3] [kitkat banana sprint][fxdroid])
Attachments
(1 file, 1 obsolete file)
We will need this to run experiments to gather data on Fission performance on Android.
Comment 1•2 years ago
|
||
Fenix will need to call this new API, but I'll wait to file the Fenix issue until this API has landed in GV.
Comment 2•2 years ago
|
||
We don't need to implement this Fission API in 104. Fixing Fission session restore and tests is a higher priority.
Comment 3•2 years ago
|
||
Moving Android Fission bugs to the new GeckoView::Sandboxing component.
Updated•9 months ago
|
Updated•6 months ago
|
Comment 4•2 months ago
|
||
Olivia, I think this bug relates to your work to support Fenix enabling SHIP (Session History In Parent, which implies Fission disabled) or Fission (which implies SHIP enabled) experiments.
What other Fenix, GV, or Gecko work is needed to listen for enrollment in those (yet to be named) experiments and then enable SHIP or Fission?
Updated•2 months ago
|
Assignee | ||
Comment 5•2 months ago
•
|
||
What other Fenix, GV, or Gecko work is needed to listen for enrollment in those (yet to be named) experiments and then enable SHIP or Fission?
AC/Fenix:
AC side is pretty simple, should just be defining the experiment in geckoview.fml.yaml. (At worst, the Nimbus experiment delegate might need expanded, but I havn't seen something to suggest that yet.) Work planned in bug 1913733.
GeckoView:
Glad you shared this specific bug! Yes, this should be one of the steps and this bug should be the main part of the GeckoView work. I was wondering if I could just add to the GeckoRuntimeSetting because of this comment. That combined with this bug Agi filed, seems to suggest that a little stronger. (Right now, I'm not totally sure they are added before initialization. I'll try to narrow that down shortly.)
Otherwise, it will be setting up something around adding an extra somewhere for GeckoThread.java. Work would happen in this bug 1771965.
We also need to add a place to connect this new API to listen and change based on the experiment. Work planned in bug 1913733, if it is bigger than expected, then it might get a new bug.
Gecko:
Hopefully, we can just reusing existing code, but I wouldn't be surprised if there are a few small changes we need to make. These are the enviromental vars that seem relevant for fission specifically. I'd file a new bug if something had to happen here.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 6•2 months ago
|
||
I did some testing and this does occur early enough during initialization for the default value the Pref
is assigned. However, if the value is set after this default initialization, the pref doesn't take (as expected). Currently focusing on a WIP on how to connect Nimbus to set this very early default.
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Comment 7•2 months ago
|
||
Moved bug to enable Fission to bug 1914655 because it looks like it will use an enviromental variable instead of a pref, so likely a little neater if it is a new bug.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 8•2 months ago
|
||
This patch adds a new default pref for fission.disableSessionHistoryInParent
on GeckoRuntimeSettings and a getter.
Additionally, a testing API is added to verify SHIP was fully enabled
and not just the preference changed.
Updated•2 months ago
|
Updated•2 months ago
|
Assignee | ||
Comment 9•2 months ago
|
||
This patch adds:
getDisableShip
toGeckoRuntimeSettings
to get value of SHIP.disableShip
toGeckoRuntimeSettings
builder to set SHIP status before initialization.- Test option of
isSessionHistoryInParentRunning
to verify SHIP is fully enabled/disabled
Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 10•2 months ago
|
||
Comment 11•2 months ago
|
||
bugherder |
Description
•