Skip to content

[Bug]: openclaw completion -s zsh hangs on native Windows (no WSL) #84213

Description

@BruceTangc

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Running openclaw completion -s zsh (or openclaw completion --write-state) on native Windows hangs indefinitely and must be killed with SIGKILL. This prevents automatic generation of shell completion cache files.

Steps to reproduce

  1. Install OpenClaw on native Windows (no WSL)
  2. Run openclaw completion -s zsh
  3. Command hangs with no output and must be killed

Also happens with:

  • openclaw completion --write-state
  • openclaw completion -s powershell
  • openclaw completion -s zsh --yes

Expected behavior

Completion script should be generated and written to $OPENCLAW_STATE_DIR/completions/openclaw.zsh.

Actual behavior

The command hangs indefinitely with no output. No completion cache file is created. The zsh profile references the missing cache file, causing errors on every shell startup.

OpenClaw version

26.5.18

Operating system

Windows 10

Install method

No response

Model

qwen/qwen3.6-plus

Provider / routing chain

bailian-coding/qwen3.6-plus (via api-key in models.json)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.regressionBehavior that previously worked and now failsstaleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions