Repository navigation
fix(cli): repair legacy config before update channel switch - #77069
Conversation
|
Codex review: found issues before merge. Summary Reproducibility: yes. Source inspection shows current main rejects Next step before merge Security Review findings
Review detailsBest possible solution: Keep the legacy repair path, but make Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows current main rejects Is this the best way to solve the issue? No. The repair direction is narrow and maintainable, but it currently runs before Full review comments:
Overall correctness: patch is incorrect What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against c52b5657a2e4. |
3ee9631 to
eb2270a
Compare
* fix(cli): repair legacy config before update channel switch * docs(changelog): note update channel legacy config repair * fix(update): keep legacy config repair doctor-owned * fix(update): keep dry runs read-only * fix(update): avoid include-flattening legacy repair
…#77069) * fix(cli): repair legacy config before update channel switch * docs(changelog): note update channel legacy config repair * fix(update): keep legacy config repair doctor-owned * fix(update): keep dry runs read-only * fix(update): avoid include-flattening legacy repair
…#77069) * fix(cli): repair legacy config before update channel switch * docs(changelog): note update channel legacy config repair * fix(update): keep legacy config repair doctor-owned * fix(update): keep dry runs read-only * fix(update): avoid include-flattening legacy repair
…#77069) * fix(cli): repair legacy config before update channel switch * docs(changelog): note update channel legacy config repair * fix(update): keep legacy config repair doctor-owned * fix(update): keep dry runs read-only * fix(update): avoid include-flattening legacy repair
Summary
openclaw update --channel ...persists the requested channel.Verification
pnpm exec oxfmt --check --threads=1 src/cli/update-cli/update-command.ts src/cli/update-cli.test.tsgit diff --checkpnpm test:serial src/cli/update-cli.test.ts -- --reporter=verbosepnpm changed:lanes --jsontbx_01kqrfq2750vn7gfz16xjm5zdf:OPENCLAW_TESTBOX=1 pnpm testbox:run --id tbx_01kqrfq2750vn7gfz16xjm5zdf -- "pnpm check:changed"(GitHub Actions run 25299222649)