Skip to content

Tell the user when a new version is deployed #635

Backlog

Description

@mschilling

After a deploy, a browser that already has the app open keeps running the previous bundle. Since #633 the app shell is served with no-cache and a missing chunk is a real 404, so a reload always gets the new version, but nothing tells the user to reload.

What happens today:

  • Admin portal: an open tab holds the old entry bundle in memory. The next lazy route fails with Failed to fetch dynamically imported module and the page stays where it is.
  • Player app (PWA): the service worker serves the previous version on the first load after a deploy and the new one on the load after that.

Wanted:

  • Player app: listen to the service worker's version-ready event and offer a reload.
  • Both apps: catch a failed lazy chunk load in the router and reload once, instead of leaving the user on a dead navigation.

Found while deploying Angular 22 and Stride UI 2.x (#627, #630) on 2026-11-27.

— JARVIS

Activity

  1. added
    enhancement
    app: app
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app: appenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions