Follow the person already using the app
Imagine a Budapest dance school using a browser app for attendance. A receptionist is marking arrivals when a developer publishes a revised lesson editor. Testing only a newly opened page misses the receptionist’s session. Ask for a demonstration starting with the previous release still open.
For an app that uses a service worker, web.dev explains why an installed update can wait while existing pages remain controlled by the older worker. MDN documents skipWaiting as a way to force a waiting worker to activate. These are implementation choices; neither is a business rule for when to interrupt attendance taking.
Define a safe moment to switch
Choose a policy: let staff finish and move later, or offer an Update and reload action at a clear pause. Deferral reduces interruptions but extends the period during which older sessions need support. Immediate switching simplifies that period only if the team has proved that ongoing tasks survive it.
For the school, a sensible pause is after attendance changes are confirmed saved and no submission is unresolved. If a save fails, retain the current screen and explain the next step. A notice should say whether updating reloads the page. Do not promise that unfinished work survives unless that exact path has been demonstrated.
Treat every open window as part of the handoff
One receptionist may keep two classes open in separate tabs. Accepting an update in the first does not mean the second has no unfinished work. Require a deliberate policy for all affected app windows: coordinate their readiness, or keep them usable without forcing a reload.
MDN describes controllerchange as a signal that the active service worker has changed. It is not confirmation that the displayed page has reloaded or that attendance was saved. Ask the developer to distinguish update detected, update ready and new page running. Prevent repeated prompts or a reload loop when a transition fails.
Support the overlap between releases
Agree how long older pages can use the server after a deployment. For example, adding a required lesson field needs a plan for an older attendance screen that never collected it. Preserve compatible behaviour or provide a clear recovery route; an unexplained failed save is not an update strategy.
Ask the team to keep the files needed by supported older sessions available. Include someone returning after several releases, not just yesterday’s version. Reverting the hosted release also needs a browser check: already-open pages do not automatically become the restored version. Clearing all browser data should not be the routine update instruction, because it may remove local work.
Approve the transition with real scenarios
Use fictional attendance records in a test environment. Check the resulting records and the version actually running, not just the update banner. Include these acceptance cases:
- Keep the previous release open, deploy an update and continue the current task.
- Open another tab and verify which version it actually receives.
- Accept in one tab while another contains unfinished changes; protect both tasks.
- Defer, finish the save and update deliberately; confirm the saved attendance remains correct.
- Interrupt the update or lose connectivity; show a usable next step without repeated reloads.
- Return from an older release and rehearse rollback, checking files, server compatibility and existing records.