Consider not publishing the self-hosted MSIX package to archive.mozilla.org
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(Not tracked)
People
(Reporter: spohl, Unassigned)
References
Details
Opening this for discussion.
For every channel (Nightly, Beta, Release, ESR and Developer Edition), we publish a Mozilla-signed MSIX package to archive.mozilla.org (target.installer.msix, for example Firefox Setup 159.0.1.msix under win64/multi/). We also register firefox-msix-latest-ssl and the matching Beta, ESR and Developer Edition products in Bouncer, so download.mozilla.org links to it. This is separate from the MSIX we submit to the Microsoft Store.
This package can't update itself. App update is turned off in MSIX builds, and the package has no .appinstaller file that would tell Windows where to look for updates (bug 1980786, bug 2056430). Anyone who installs it stays on that version until they install a newer one by hand.
As far as we can tell, the main way people get it is winget. Community-maintained listings (Mozilla.Firefox.MSIX, Mozilla.Firefox.Nightly.MSIX, and MSIX variants for Beta, Developer Edition and ESR) install it straight from archive.mozilla.org. winget only updates them when the user runs winget upgrade.
Proposal:
- Stop uploading the self-hosted MSIX to archive.mozilla.org, and remove the MSIX products from Bouncer.
- Keep building the MSIX repack, which the Microsoft Store submission needs.
- Keep signing it, since the CI
msixtest variants (xpcshell, mochitest, reftest, web-platform-tests, browsertime) install the signed package. - Work out what happens to people who installed it through winget, for example asking for those listings to be deprecated or pointed at the regular installer or the Store package.
Open questions:
- How many people download or run the self-hosted MSIX today (Bouncer download counts, telemetry)?
- Should we stop on all channels at once, or start with Nightly?
- Are there other places that link to these files or Bouncer products?
Comment 1•17 days ago
|
||
Work out what happens to people who installed it through winget, for example asking for those listings to be deprecated or pointed at the regular installer or the Store package.
Why on Earth do you want to do this? I don't see much rationale in this ticket. I'd understand wanting to direct people to an .appInstaller over an MSIX[Bundle], when they're not utilising a package manager. However, why revert the work that we've put into getting MSIX Firefox on WinGet, considering that that use case is exactly what bare MSIX is for? There, an .appInstaller barely augments the package.
Should we stop on all channels at once, or start with Nightly?
None of these; especially, Nightly. Users running Nightly can be expected to understand how to update.
But how are you going to bisect MSIX specific bugs without having archive? mozregression doesn't support MSIX now but we ultimately should add support?
| Reporter | ||
Comment 3•16 days ago
|
||
(In reply to Mr Beedell, Roke Julian Lockhart [:B.RJL] from comment #1)
Why on Earth do you want to do this? I don't see much rationale in this ticket.
As mentioned in comment 0, I filed this bug to open the very discussion that we are now having. I'm happy to provide the rationale as I see it today, but that doesn't mean that there aren't things that I'm not aware of or missed, and I'd welcome your input.
As far as I can tell, this package was never meant to be a supported way to install Firefox. When bug 2056430 was filed, it was described as useful for anyone testing Nightly MSIX builds, and as a proof of concept for distributing the self-hosted MSIX more widely. It can't update itself, and nobody is working on bugs that only affect it. I don't think Mozilla should publish an installer that we aren't willing to maintain or fix bugs for. An install that quietly stays on an old version is a security risk for the people using it, and winget only helps if they run winget upgrade regularly.
There's a second problem. These are regular Firefox builds repackaged as MSIX, so they should send the same telemetry and crash reports as any other Firefox. They report the same mozilla-MSIX distribution as the Store package. The only thing that tells them apart is the package family name in system.win_package_family_name and in the WindowsPackageFamilyName crash annotation, which starts with Mozilla.MozillaFirefox instead of Mozilla.Firefox. Unless an analysis filters on that, these installs most likely look like Firefox clients whose updates stopped working. That could skew how many users we think are orphaned on old versions, when they simply never updated by hand. Bug reports and crashes from these installs can have the same effect, since it isn't obvious from the report that the user was never going to get an update.
(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #2)
But how are you going to bisect MSIX specific bugs without having archive?
Good question. We'd keep building and signing the MSIX in CI, so the packages should stay available as Taskcluster artifacts for as long as Taskcluster keeps them, but mozregression can't use them today. Would it be enough to keep only the Nightly MSIX on archive.mozilla.org for bisecting, and remove the Bouncer products? The winget listings point straight at archive.mozilla.org, so that alone wouldn't stop people from installing Nightly that way.
(In reply to Stephen A Pohl [:spohl] from comment #3)
(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #2)
But how are you going to bisect MSIX specific bugs without having archive?
Good question. We'd keep building and signing the MSIX in CI, so the packages should stay available as Taskcluster artifacts for as long as Taskcluster keeps them, but mozregression can't use them today. Would it be enough to keep only the Nightly MSIX on archive.mozilla.org for bisecting, and remove the Bouncer products? The winget listings point straight at archive.mozilla.org, so that alone wouldn't stop people from installing Nightly that way.
TC artifacts disappear after a year, so if anything was introduced before that it would be impossible to track the regressor without having archives.
I assume Bouncer is download.mozilla.org, I have no objection there.
We should also reach out to winget-pkgs repository to remove the release/nightly MSIX packages in case we are concerned enough.
winget MSIX manifest pathes:
- https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Mozilla/Firefox/MSIX
- https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Mozilla/Firefox/Beta/MSIX
- https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Mozilla/Firefox/DeveloperEdition/MSIX
- https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Mozilla/Firefox/Nightly/MSIX
We could have some mitigation by having a warning in case MSIX is opened outside MSStore, I believe that's detectable.
| Reporter | ||
Comment 8•16 days ago
|
||
Thank you, Kagami! It is clear that this matters to people who rely on these packages, and I'd like to get it right, so let me try to explain my thinking a bit more:
On bisecting: I looked for MSIX bugs where a regression was tracked down by bisecting the MSIX builds from archive.mozilla.org, and I couldn't find one. As far as I can tell, mozregression has never supported MSIX (bug 2060777 comment 0 mentions this as well), and in bug 1797093 the regressor was found without bisecting. If we stop publishing to archive.mozilla.org, CI would still build and sign the MSIX, and those packages should stay available as Taskcluster artifacts for about a year. I think it's unlikely that we'd go looking for an MSIX-only regression further back than that. But if you know of a case where the archived MSIX builds were what made a regression findable, I'd really like to hear about it, since that could change the picture.
On telemetry and crash reports: these builds report the same data as any other Firefox today. If we keep publishing a package that we don't officially support, I think we'd eventually need to either turn off telemetry and crash reporting for it, or mark that data clearly as coming from an unsupported configuration. Either way, problems these users run into would most likely be easier to miss, not harder.
What worries me most is the experience of the people who install it. The package can't update itself, so anyone who doesn't regularly run winget upgrade stays on an old version of Firefox without necessarily realizing it. For Mozilla, I think it's not ideal to make an installer available that we aren't maintaining, and that may leave users with a degraded and less secure Firefox. The regular installer and the Microsoft Store package both keep themselves up to date, and I'd rather point people there.
None of this is set in stone, and I'm happy to keep talking it through. I just want to make sure that whatever we offer is something we can stand behind.
(In reply to Stephen A Pohl [:spohl] from comment #8)
I think it's unlikely that we'd go looking for an MSIX-only regression further back than that. But if you know of a case where the archived MSIX builds were what made a regression findable, I'd really like to hear about it, since that could change the picture.
It's technically "unlikely" that any regression traces back to years old bug, but it still does happen, and mozregression helps a lot. I think the reason MSIX bisect didn't happen is that it's super tedious job to do a manual bisect so nobody bothered enough to do it. (It's already super tedious with non-MSIX, and then you need to additionally deal with installation with MSIX.) Once mozregression supports it we can actually do it.
The regular installer and the Microsoft Store package both keep themselves up to date, and I'd rather point people there.
That's my point in comment #7, we could show a warning while not degrading archive. Code archeology matters.
Comment 10•15 days ago
|
||
I don't think not supporting autoupdating is a reason to do this. Technically our deb and rpm packages don't support autoupdating either.
The question is if the MSIX package format is useful outside the store, and I thought the answer to that was recently decided to be "yes"
Can we look at orphaned builds with that the MSIX distribution ID to see if the hypothesis you mentioned holds true?
| Reporter | ||
Updated•15 days ago
|
| Reporter | ||
Comment 11•14 days ago
•
|
||
Thank you all for the input here. I believe that there is a different path forward:
The point about keeping a record of what we ship to the Store is an important one. The self-hosted MSIX is repackaged from the same build as the package we submit to the Microsoft Store, and as far as I can tell the Store package itself isn't kept on archive.mozilla.org. That makes the self-hosted MSIX the closest record we have of what we shipped to the Store, so I think removing it from the archive should only happen as a very last resort.
The problem I'd still like to solve is that people install this package as their everyday Firefox, mostly through winget, and then never get updates. It looks like winget has community-maintained Mozilla.Firefox.MSIX, Mozilla.Firefox.Beta.MSIX and Mozilla.Firefox.Nightly.MSIX listings that download it straight from our servers. I suspect most of these users don't realize that an MSIX installed outside the Store doesn't update itself. The telemetry seems to back that up. These are Windows Release clients over the last 14 days using the self-hosted MSIX (dashboard: https://sql.telemetry.mozilla.org/dashboard/self-hosted-msix-population-bug-2090851-):
Install type Clients On 159 3+ behind 6+ behind Never updated
Self-hosted MSIX 527 20.7% 55.0% 42.5% 74%
"Never updated" is the share of clients seen across at least 60 days of the last 120 that never moved to a new major version.
Across all channels it's a rather small group, about 850 clients:
Channel Self-hosted MSIX clients
Release 527
Nightly 120
Developer Edition 118
ESR 45
Beta 43
To answer comment 10: with so few clients, these installs shouldn't noticeably change our numbers for orphaned Firefox installs. But the people who have them are mostly stuck on old versions.
winget already offers our regular installer for most channels. Mozilla.Firefox, Mozilla.Firefox.ESR, Mozilla.Firefox.DeveloperEdition and the per-locale listings all use the .exe, which our updater keeps current after the install. Only Beta and Nightly are MSIX-only there.
So instead of removing the package from the archive, I'd like to start a conversation with the winget maintainers. I'd explain the update problem, ask whether the MSIX listings could be retired in favor of the .exe ones, and offer .exe listings for Beta and Nightly. That should keep the archive intact for bisecting and code archeology, and stop new installs that are unlikely to ever be updated.
I'm going to close this bug as wontfix, but please feel free to comment here if there is any additional feedback.
Description
•