Repository navigation
fix(install): defer success until verification - #126871
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 20, 2026 22:47
Contributor
Author
|
Land-ready evidence for exact head
Closes #126862. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 21, 2026
This was referenced Nov 16, 2026
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 #126862
AI-assisted: yes
What Problem This Solves
Fixes an issue where users installing OpenClaw with retained configuration or explicitly requesting
--verifycould see a successful Unix installation even though required Doctor repair or verification subsequently failed. Upgrades also displayed an impossible[4/3]verification progress stage.Why This Change Was Made
The Unix installer now detects implicit upgrade verification before calculating its progress-stage total and renders one canonical completion banner only after required retained-configuration Doctor work and explicit or implicit verification succeed. Plain fresh installs retain their existing success-before-optional-onboarding contract and the original
execonboarding handoff. Plugin updates, dashboard opening, and service refresh remain advisory. PowerShell and prefix installer behavior is intentionally untouched.User Impact
Required installer lifecycle failures now exit nonzero without reporting installation success. Successful fresh installs still report installation success, actual upgrades still report
Upgrade complete, and implicit upgrade verification is correctly shown as[4/4]. Optional interactive onboarding behavior and ordering are intentionally unchanged.Evidence
[4/3]; five contract controls passed.cbx_92040ac3b85c, runrun_94d57f6a0fb8, eight expected baseline scenarios passed.run_8bf133e80248, all eight repaired scenarios passed.[4/4]; upgrade Doctor/verification failures; unchanged plain-fresh success placement.bash -n scripts/install.shandshellcheck -e SC1091 scripts/install.shpass.scripts/install.ps1,scripts/install-cli.sh, onboarding handoff semantics, configuration, dependencies, and changelog are unchanged.