Skip to content

Stop embedding the retired browser shell in ox-host - #402

Draft
n0rpan wants to merge 2 commits into
mobile/pwa-migration-activationfrom
mobile/pwa-retire-static-routes
Draft

n0rpan wants to merge 2 commits into
mobile/pwa-migration-activationfrom
mobile/pwa-retire-static-routes

Conversation

@n0rpan

@n0rpan n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Part of #95. Stacked on #400. Keep this draft until the device gates and migration notice are complete and the migration page and retiring worker have been verified in production.

Remove 23 legacy browser shell asset routes and their embedded assets, including the manifest and generated stylesheet. The migration page, stylesheet and retiring worker continue to answer at their existing paths for installs that skip the migration release. The paired APIs and Tailscale guard continue to apply. The legacy source files remain in the offline upgrade fixture, and legacy Web Push is a separate removal.

I upgraded a real loopback Rust host directly from the old installed shell to this candidate with Chromium. The old tab loaded offline first, then switched to the styled migration page and removed only the retired shell cache and registration on an online reload. All 23 retired routes returned 404. The signed native integration fixture and 210 host unit tests passed.

Matched Linux x86_64 release builds reduced the host executable from 37,415,352 to 36,591,592 bytes and its gzipped size from 12,106,657 to 11,903,785 bytes. In five local disposable-host runs per build, median idle RSS went from 16,000 to 15,628 KiB and median idle PSS from 13,500 to 13,116 KiB. These figures cover the host process and executable. Full desktop package size, other architectures and hosted CI remain unverified.

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

#383 is the interim fix to ox-host-web/build.rs: it skips the old browser asset fingerprint for native-only builds while browser serving still exists. This PR deletes that file entirely after cutover. Please let #383 land independently if useful, then keep the deletion when resolving the rebase here; verify both native-only and server builds without the old shell rather than reviving the build script.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant