Skip to content

refactor(onboard): remove obsolete node manager options#106593

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/onboard-node-manager-dead-export
Jul 13, 2026
Merged

refactor(onboard): remove obsolete node manager options#106593
vincentkoc merged 1 commit into
mainfrom
refactor/onboard-node-manager-dead-export

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

The onboarding module still exported a node-manager option builder after the interactive selector that consumed it was removed. That left a false internal API surface and matching test scaffolding with no runtime behavior behind either one.

Why This Change Was Made

Remove the obsolete helper, its now-unused type import, and the stale mock entry. Node-manager selection remains owned by the existing resolveDefaultNodeManager path in skill onboarding; this change does not alter selection, validation, persistence, or installer behavior.

User Impact

No user-visible behavior changes. The onboarding surface is smaller and no longer advertises an unused package-manager choice API.

Evidence

  • Fresh full code graph before the change: 312,020 nodes / 1,294,954 edges. resolveNodeManagerOptions had zero incoming CALLS or USAGE edges.
  • Repository history shows Streamline OpenClaw onboarding (Streamline OpenClaw onboarding #98218) removed the helper's only caller when it replaced the interactive selector with resolveDefaultNodeManager.
  • Fresh graph after the change: 312,024 nodes / 1,301,228 edges; searching for resolveNodeManagerOptions returns zero results.
  • Blacksmith Testbox tbx_01kxe5k8ry8ntqjeqqtybzecv6, run https://github.com/openclaw/openclaw/actions/runs/29267341934:
    • pnpm test:serial src/commands/onboard-skills.test.ts src/commands/onboard-helpers.test.ts - 59/59 tests passed.
    • pnpm check:changed -- src/commands/onboard-helpers.ts src/commands/onboard-skills.test.ts - passed.
  • Fresh gpt-5.6-sol medium review: no findings, confidence 0.98.

@vincentkoc vincentkoc self-assigned this Jul 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: XS maintainer Maintainer-authored PR labels Jul 13, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 13, 2026 16:49
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof:

Known proof gaps: none for the touched onboarding surface.

@vincentkoc
vincentkoc merged commit 70feb13 into main Jul 13, 2026
184 of 188 checks passed
@vincentkoc
vincentkoc deleted the refactor/onboard-node-manager-dead-export branch July 13, 2026 16:59
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

wm0018 pushed a commit to wm0018/openclaw that referenced this pull request Jul 14, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant