Skip to content

Build & Embed operations hang silently on Windows 11 with uvx #46

@pvnsai73

Description

@pvnsai73

Bug Report — code-review-graph · Windows 11
Build and embed hang silently on a 6-file JS project. No error. No timeout.


Environment

OS: Windows 11 Enterprise 10.0.26200 · x86_64-pc-windows-msvc
uvx: 0.10.12 (2026-03-19)
Python: cpython-3.14.3 — uvx-managed, no system Python
code-review-graph: 1.8.4 [embeddings]
sentence-transformers / PyTorch / transformers: 3.4.1 / 2.10.0 / 4.57.6
Claude Code plugin: 1.8.3 (marketplace)
Required: UV_NATIVE_TLS=1 — without this, MCP server won't start


Reproduce

  1. Windows 11, no system Python. Install uv/uvx, set UV_NATIVE_TLS=1.
  2. uv tool install "code-review-graph[embeddings]"
  3. Install marketplace plugin, configure .mcp.json.
  4. Trigger build_or_update_graph_tool on a small JS project (6 files, ~240 nodes). → Hangs.
  5. Trigger embed_graph_tool. → Also hangs.

What Happened

Build reported 310 nodes / 3,560 edges mid-run. Persisted DB shows 242 nodes / 1,808 edges. Post-processing deduplication is the likely culprit.

embed_graph_tool stalled during model inference. No error, no progress.

Workaround: Close Claude Code → restart → run "uvx code-review-graph status" from terminal. Build resumed. Embeddings were slow but finished.


Two Other Gotchas

Wrong install method breaks embed: "uvx pip install sentence-transformers" puts it in a different isolated env. embed_graph_tool then reports "not installed." Always use the [embeddings] extra — never install separately.

Corporate TLS: Add { "UV_NATIVE_TLS": "1" } under "env" in ~/.claude/settings.json.


Expected vs Actual

build — expected: seconds / actual: silent hang
embed — expected: under 1 min for ~240 nodes / actual: silent hang


Fixes Needed

  1. Progress indicator + timeout on both build and embed.
  2. README: document [embeddings] extra as the only correct install path on Windows/uvx.
  3. README: document UV_NATIVE_TLS=1 for corporate environments.
  4. Investigate the 310→242 node / 3,560→1,808 edge drop — that reconciliation step is probably the hang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions