fix: stabilize OpenClaw CLI insight context#50
Draft
akaDRJ wants to merge 1 commit intoTianyiDataScience:mainfrom
Draft
fix: stabilize OpenClaw CLI insight context#50akaDRJ wants to merge 1 commit intoTianyiDataScience:mainfrom
akaDRJ wants to merge 1 commit intoTianyiDataScience:mainfrom
Conversation
Owner
|
谢谢你先把这条 draft 放出来,方向我认同。 我这边先记下来了,不过因为它现在还是 draft,我就先不急着动 merge。等你基于最新 |
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.
Summary
This fixes a false-negative connection-health path in the control center when invoking
openclawCLI commands from the dashboard runtime.What changed
npm_*/INIT_CWDpollution from child-process env before invokingopenclawOPENCLAW_*overrides that can break plugin/config resolution on real installsWhy
On a real OpenClaw installation, the Settings → Connection health card could incorrectly show:
Gateway is not reachableopenclaw.json is missing or invalidRuntime status is still loading…even though the local OpenClaw runtime was healthy.
The root causes were a mix of:
openclawfrom the wrong cwdValidation
npm test→106/106 passUI_BIND_ADDRESS=0.0.0.0) without including that local-only change in this PR