fix(ui): show restart banner for unapplied config#107577
Merged
Merged
Conversation
steipete
force-pushed
the
codex/applied-config-hash
branch
from
July 14, 2026 14:48
24f277d to
664db75
Compare
steipete
force-pushed
the
codex/applied-config-hash
branch
from
July 14, 2026 14:55
664db75 to
747ff0f
Compare
Contributor
Author
|
Land-ready proof for
The change is additive and intentionally does not bump the gateway protocol version. No known proof gaps. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 15, 2026
* fix(ui): derive config apply state from gateway * test(ui): align applied config hash coverage * test(ui): follow config autosave flow * fix(ui): guard applied config refreshes * fix(ui): reconcile patched config revisions * fix(ui): prevent stale config apply polling * chore: leave release notes to release flow * refactor(config): split applied revision helpers * style(config): format gateway methods * fix(i18n): refresh Korean native glossary hash
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.
Closes #107216
What Problem This Solves
Control UI config pages could not truthfully determine whether the saved config was active after a refresh, reconnect, or Gateway restart.
Why This Change Was Made
The Gateway now publishes an additive applied config revision hash in the hello snapshot and config.get. Control UI compares the persisted and applied revision hashes, polls through hot-reload convergence, and keeps a process-local fallback for older Gateways. The protocol version is unchanged.
User Impact
The Restart & apply banner now reflects Gateway runtime truth and survives capability recreation instead of depending on localStorage.
Evidence
AI Assistance
AI-assisted implementation and review. Findings were independently verified with focused tests before disposition.