Skip to content

Keep notebooks usable offline across web updates - #109

Draft
bxff wants to merge 9 commits into
mainfrom
fixes/weft-offline-release-handoff
Draft

bxff wants to merge 9 commits into
mainfrom
fixes/weft-offline-release-handoff

Conversation

@bxff

@bxff bxff commented Dec 1, 2026

Copy link
Copy Markdown
Owner

What changed

A new service worker stages the notebook shell and its required assets before replacing a working offline version. Keep the most recently active usable predecessor, retain newer releases that are still staging, and leave a working cache alone when an update is incomplete.

Verified

Seven Chromium offline tests passed, including true server-offline next-version startup and a forward/rollback/forward sequence. Also verified with separate production builds and an independent real Chromium activation overlap. TypeScript, Svelte, and production build passed.

The first visit still warms the notebook. This does not promise arbitrary rollback or offline use of optional routes that have never been opened.

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