Title: Recover Pages navigation gracefully across application deployments · Issue #849 · voidzero-dev/void · GitHub
Open Graph Title: Recover Pages navigation gracefully across application deployments · Issue #849 · voidzero-dev/void
X Title: Recover Pages navigation gracefully across application deployments · Issue #849 · voidzero-dev/void
Description: Build with Vite. Deploy with Void. Contribute to voidzero-dev/void development by creating an account on GitHub.
Open Graph Description: Build with Vite. Deploy with Void. Contribute to voidzero-dev/void development by creating an account on GitHub.
X Description: Build with Vite. Deploy with Void. Contribute to voidzero-dev/void development by creating an account on GitHub.
Opengraph URL: https://github.com/voidzero-dev/void
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Recover Pages navigation gracefully across application deployments","articleBody":"An already-open tab can fail during SPA navigation after a new deployment. It would be good to have a default handling (which can be disabled) to handle this case by default.\n\n## Reproduction\n\n1. Deploy an application with multiple pages and open it.\n2. Leave the tab open.\n3. Change a page or shared component and deploy the application again (=> new chunk hashes)\n4. In the existing tab, navigate to a page whose chunks have not been loaded.\n5. The client requests the old version's chunks, which may now return 404. Recovery can also fail if the error component needs a missing chunk.\n\n## Expected behavior\n\nAn *intentional* navigation should recover to its requested destination when the client can establish that a different application version is required.\nThe query string and fragment should survive, and the current page should remain visible until recovery starts.\n\n- Prefetch should never reload the tab.\n- Network failures should not be treated as deployment changes\n- Never replay mutations automatically\n- No additional checks for healthy navigations (no slowdown)\n\n## State of the Art in toher frameworks\n\n[Inertia’s protocol](https://inertiajs.com/docs/v3/core-concepts/the-protocol#asset-versioning) provides prior art for version negotiation, GET navigation fallback and background request handling. [SvelteKit’s version management](https://svelte.dev/docs/kit/@sveltejs-kit-vite#version) provides prior art for detecting a new build and recovering from a page-load failure.\n\n## Solution ideas\n\nThe shared Pages router and server transport could support application version negotiation and load recovery\n\nThe existing `X-VoidPages-Version` check already covers the wire format. An application version would address regular deployments that change components or page props (no protocol changes).\n\nVersion information could travel with existing page requests and responses. The router can do the rest (check compat, handle import failures while keeping state etc)","author":{"url":"https://github.com/TheAlexLichter","@type":"Person","name":"TheAlexLichter"},"datePublished":"2026-11-16T09:59:20Z","url":"https://github.com/voidzero-dev/void/issues/849"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:49d7cd95-c49d-36c8-1e34-6298812d3762 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D116:34FC0A:1FA88E1:2ABD9F5:6AFBA740 |
| html-safe-nonce | bc48cad9575fa0c957202fdc7f3c44f5ae389ec7e3e5039b4ca19dd39ec50aee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTE2OjM0RkMwQToxRkE4OEUxOjJBQkQ5RjU6NkFGQkE3NDAiLCJ2aXNpdG9yX2lkIjoiNzk5NTU1MTAyODg2NDU5MTY4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8bd4e75cf7e98f93b2543636d8be12b549b7b3c6340b2f737e82834a4e7d5e50 |
| hovercard-subject-tag | repository:1164437080 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/voidzero-dev/void/issues/849 |
| twitter:image | https://opengraph.githubassets.com/2133fd2ae2b74b5353447938f20a1d1694adcff1dd6b3b2537b223a2fa294def/voidzero-dev/void |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2133fd2ae2b74b5353447938f20a1d1694adcff1dd6b3b2537b223a2fa294def/voidzero-dev/void |
| og:image:alt | Build with Vite. Deploy with Void. Contribute to voidzero-dev/void development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 03e5090f0cea887cafa036e3af34d7c668d83b5e9e9e03df72a90efb49b69cdf |
| turbo-cache-control | no-cache |
| go-import | github.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git |
| octolytics-dimension-user_id | 149750581 |
| octolytics-dimension-user_login | voidzero-dev |
| octolytics-dimension-repository_id | 1164437080 |
| octolytics-dimension-repository_nwo | voidzero-dev/void |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1164437080 |
| octolytics-dimension-repository_network_root_nwo | voidzero-dev/void |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f00295b9a35dca977890ab83b22788ab211dc8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width