Revert "Revert "feat(web): prompt refresh when the server version settles on a newer build""#4463
Merged
pedrofrxncx merged 1 commit intoJul 11, 2026
Conversation
…tles on …" This reverts commit ebcbb42.
decocms Bot
pushed a commit
that referenced
this pull request
Jul 11, 2026
PR: #4463 Revert "Revert "feat(web): prompt refresh when the server version settles on a newer build"" Bump type: patch - decocms (apps/mesh/package.json): 4.11.2 -> 4.11.3 Deploy-Scope: both
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.
Reverts #4460
Summary by cubic
Prompts users to refresh only after the server reports a newer build twice, reducing false alerts during rolling deploys. Exposes the server version and disables caching to make polling reliable.
VersionCheckDialogto the shell. Polls/api/configevery 5 minutes and prompts refresh after 2 consecutive newer versions than__MESH_VERSION__.public-confignow returnsversionfromapps/mesh/package.jsonand setsCache-Control: no-store.KEYS.appVersionCheck()to keep this poll separate from the forever-cachedpublicConfig.nextDriftto validate the confirmation logic.Written for commit acd65e3. Summary will update on new commits.