codegraph-rust icon indicating copy to clipboard operation
codegraph-rust copied to clipboard

Windows: AutoAgents git dependency fails checkout on fresh cargo resolution

Open 2233admin opened this issue 6 months ago • 0 comments

Summary

On Windows, a fresh dependency resolution can fail before CodeGraph finishes cargo check because the AutoAgents git dependency contains a path that Git refuses to check out on this platform.

Observed error

` ext failed to get utoagents as a dependency of package codegraph-mcp

Caused by: failed to load source for dependency utoagents

Caused by: unable to update https://github.com/liquidos-ai/AutoAgents#55fd373f

Caused by: cannot checkout to invalid path 'docs/theme/catppuccin-admonish.css .'; class=Checkout (20) `

Impact

This blocks a clean Windows build even after local CodeGraph-side Windows runtime/build fixes are applied.

Context

I opened a separate PR for CodeGraph-side Windows compatibility fixes here:

  • PR #75: https://github.com/Jakedismo/codegraph-rust/pull/75

I am filing this separately because this issue appears to come from the upstream AutoAgents git dependency checkout on Windows, not from CodeGraph's own source tree.

Repro

powershell cargo check -p codegraph-mcp-server --bin codegraph --no-default-features --features daemon,embeddings-ollama,embeddings-openai,embeddings-jina,embeddings-lmstudio,server-http

Suggestion

Possible ways to unblock Windows users:

  • pin to an AutoAgents revision without the invalid checkout path
  • switch to a crates.io release if possible
  • gate the dependency path behind features that are off for Windows-compatible builds
  • document the Windows limitation explicitly until the dependency is fixed upstream

2233admin avatar May 14 '26 10:05 2233admin