SOLVED

How does Edge determine which PWA is not important to the user for auto browser restart?

%3CLINGO-SUB%20id%3D%22lingo-sub-1880903%22%20slang%3D%22en-US%22%3EHow%20does%20Edge%20determine%20which%20PWA%20is%20not%20important%20to%20the%20user%20for%20auto%20browser%20restart%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1880903%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EEnable%20PWAs%20to%20automatically%20restart%20to%20apply%20a%20pending%20browser%20update.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20a%20browser%20update%20is%20pending%20and%20only%20PWAs%20are%20running%2C%20this%20feature%20will%20restart%20PWAs%20to%20apply%20the%20update%20%3CSTRONG%3Eif%20they%20are%20considered%20not%20important%20to%20the%20user.%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22platforms%22%3EMac%2C%20Windows%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22edge%3A%2F%2Fflags%2F%23edge-enable-web-app-upgrade-controller%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23edge-enable-web-app-upgrade-controller%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFlag%20exists%20in%20Edge%26nbsp%3B%3CSPAN%3EVersion%2088.0.692.0%20(Dev)%20and%26nbsp%3B86.0.622.68%20(stable)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHow%20does%20Edge%20determine%20which%20open%20PWA%20is%20not%20important%20to%20the%20user%3F%20based%20on%20usage%3F%20inactivity%20at%20that%20moment%3F%20or%20other%26nbsp%3Bheuristic%20behavior%20analyzing%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eand%20the%20default%20value%20is%20as%20always%20unknown%2C%20not%20showing%20whether%20this%20is%20enabled%20or%20disabled%2C%20by%20default.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1880903%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edev%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eedge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eexplanation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eflag%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ehelp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Epwa%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Erestart%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUpdate%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1885904%22%20slang%3D%22en-US%22%3ERe%3A%20How%20does%20Edge%20determine%20which%20PWA%20is%20not%20important%20to%20the%20user%20for%20auto%20browser%20restart%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1885904%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3Bwe%20are%20experimenting%20with%20%22not%20important%22%2C%20but%20in%20a%20rough%20sense%2C%20if%20the%20PWA%20is%20in%20the%20background%20and%20is%20not%20actively%20playing%20music.%20We%20cannot%20allow%20PWAs%20to%20block%20updates%20to%20the%20browser%20for%20long%20periods%20of%20time%2C%20but%20just%20restarting%20all%20of%20your%20PWAs%20without%20warning%20can%20be%20a%20jarring%20experience%2C%20so%20we%20are%20working%20through%20different%20approaches.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-John%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Honored Contributor

Enable PWAs to automatically restart to apply a pending browser update.

When a browser update is pending and only PWAs are running, this feature will restart PWAs to apply the update if they are considered not important to the user.  Mac, Windows

#edge-enable-web-app-upgrade-controller

 

Flag exists in Edge Version 88.0.692.0 (Dev) and 86.0.622.68 (stable)

 

How does Edge determine which open PWA is not important to the user? based on usage? inactivity at that moment? or other heuristic behavior analyzing?

 

and the default value is as always unknown, not showing whether this is enabled or disabled, by default.

2 Replies
Highlighted
Best Response confirmed by HotCakeX (Honored Contributor)
Solution

@HotCakeX we are experimenting with "not important", but in a rough sense, if the PWA is in the background and is not actively playing music. We cannot allow PWAs to block updates to the browser for long periods of time, but just restarting all of your PWAs without warning can be a jarring experience, so we are working through different approaches.

 

-John

Highlighted