fix(openclaw): reapply WeChat channel seed after config mutations#3843
Closed
hunglp6d wants to merge 1 commit into
Closed
fix(openclaw): reapply WeChat channel seed after config mutations#3843hunglp6d wants to merge 1 commit into
hunglp6d wants to merge 1 commit into
Conversation
Re-run seed-wechat-accounts.py after OpenClaw doctor/plugin-install has had a chance to rewrite openclaw.json. During the late seed, restore plugins.installs.openclaw-weixin and plugins.entries.openclaw-weixin.enabled before writing channels.openclaw-weixin. Without this, openclaw doctor --fix and openclaw plugins install rewrite openclaw.json and drop the channels.openclaw-weixin block that was seeded by generate-openclaw-config.py, causing the WeChat bridge to not start. Nightly evidence: https://github.com/NVIDIA/NemoClaw/actions/runs/26133440454/job/76863300166 Signed-off-by: Hung Le <hple@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
2 tasks
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
seed-wechat-accounts.pyafteropenclaw doctor --fixandopenclaw plugins install /opt/nemoclawhave rewrittenopenclaw.jsonin the Dockerfile.plugins.installs.openclaw-weixinandplugins.entries.openclaw-weixin.enabledbefore writingchannels.openclaw-weixin, so the gateway recognizes the upstream channel id.Root cause
The Dockerfile executes
generate-openclaw-config.py(which callsseed-wechat-accounts.pyto registerchannels.openclaw-weixin), then runsopenclaw doctor --fixandopenclaw plugins install /opt/nemoclaw. Both of those OpenClaw CLI commands rewriteopenclaw.jsonand drop thechannels.openclaw-weixinblock that the seed script just added.The final image's
openclaw.jsontherefore lists only['defaults', 'discord', 'slack', 'telegram', 'whatsapp']— noopenclaw-weixin— and the WeChat bridge never starts.Nightly evidence: https://github.com/NVIDIA/NemoClaw/actions/runs/26133440454/job/76863300166
Validation
The equivalent fix was independently landed on
mainas PR #3839 (commit ce03b01). TheGITHUB_TOKENlacksworkflowscope so a-custom-e2evalidation branch could not be pushed; however the next scheduled nightly onmain(which includes ce03b01) will validate the fix end-to-end.ce03b01(PR fix(openclaw): reapply WeChat channel seed after config mutations #3839)2dc09427channels-stop-start-e2e(#76863300166)Files changed
Dockerfileseed-wechat-accounts.pycall afteropenclaw plugins installscripts/seed-wechat-accounts.pyplugins.installsandplugins.entriesfor openclaw-weixin before writing channel blockSigned-off-by: Hung Le hple@nvidia.com
Fixes #3844