Repository navigation
Conversation
The host stopped serving the original phone shell in 6322c55, so the desktop/ox-host-web/assets tree and its Node and TypeScript-only checks are dead source. Delete the unserved files and the four .test.mjs checks, and drop the tsc and node lines from tests/check.sh. Preserve the real offline upgrade regression instead of the asset tree: move the exact previous worker to tests/fixtures/legacy-shell-sw.js, and have pwa_cutover.py serve a compact inert index plus correctly typed placeholder bodies for every path in that worker's original precache list. The rehearsal still installs the worker, proves the shell opens offline, and checks the exact retirement transitions, unrelated caches, IndexedDB pairing, signed-route bypass, and the uncontrolled fresh visit. Keep the real-host guarded migration check (pwa_migration.py) and the Rust/native signed fixtures unchanged. Extract the shared WebDriver call into tests/webdriver.py for both migration tests; browser.py imports it so desktop continuity still reaches paired_browser(). operator_browser.py, phone_settings.py and the continuity workflow are preserved. Desktop continuity remains blocked on #373: host_continuity_window.py pairs through browser.py paired_browser, which loads PWA routes the host no longer serves. Until #373 replaces that path, this change neither removes its workflow nor claims the guarded continuity test works. Verified locally: desktop/ox-host-web/tests/check.sh (210 lib tests, pwa_migration, pwa_cutover, native_client), desktop/ci docs_check.py, desktop/ci test_*.py (55 tests), cargo fmt for root and desktop.
…wa-prune-legacy-source # Conflicts: # docs/README.md
This was referenced Dec 3, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #95. Stacked on #402. Keep this draft until the preceding cutover has been verified in production, and #373 has moved packaged continuity off browser pairing.
Remove the original browser source assets and their JavaScript-only checks once the host no longer serves them. Keep the exact retired service worker as a small offline-upgrade fixture. It installs and caches its original path list using inert fixture responses. After cutover Chromium verifies that the old tab updates normally, only shell caches are cleared, unrelated storage and pairing survive, a fresh visit has no service worker, and a former shell route returns 404.
A local integration branch combined the retirement stack with #373, #382, #405 and #404. Browser-only CI passed in Chromium with Cargo and Node unavailable. Native-only CI passed with Chromium unavailable. That run passed 210 Rust unit tests plus real host pairing, key import, remote PTY, revocation and pairing after restart.
With a previously packaged dev.1933 Linux desktop, the pruned Rust host and the integrated signed test harness, the stock Claude continuity fixture passed. It exercised desktop exit and reopen, native approval, the original-project write, cross-project streaming, Stop, and terminal handoff, execution and return to the same thread. The packaged CI path still depends on #373 and #382 landing. Legacy Web Push removal is separate.
The final rehearsal also combined #416. Native CI passed with Chromium and Node unavailable, including the signed two-host key-copy, stale-review rejection and pairing restart. Browser CI passed with Cargo and Node unavailable, including offline upgrade and preservation of pairing data. Land #416 before removing its matching browser coverage.