strix icon indicating copy to clipboard operation
strix copied to clipboard

[BUG] Endless loading after starting strix with large repository as a target

Open Hyperslava opened this issue 4 months ago • 3 comments

Describe the bug Endless loading after starting strix with large repository as a target, for example, vllm.

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/vllm-project/vllm.git
  2. export STRIX_LLM="deepseek/deepseek-v4-pro"
  3. export LLM_API_KEY="deepseek_key"
  4. strix --target vllm

Expected behavior Penetration testing starting.

Screenshots

Image

System Information:

  • OS: [Ubuntu 24.04 in WSL]
  • Strix Version or Commit: [1.2.0]
  • Python Version: [3.12.3]
  • LLM Used: [deepseek-v4-flash]

Additional context This configuration works fine with smaller repositories.

Hyperslava avatar Jul 22 '26 12:07 Hyperslava

Hit what looks like the same "endless loading" symptom (TUI stuck on Loading with no visible error surfaced) via a couple of related repro paths, sharing in case it helps narrow this down.

On macOS, local-dir scans against any repo with an in-tree symlink (e.g. node_modules) fail with LocalDirReadError(reason=symlink_not_supported), because the staging tempdir itself sits behind a symlink ($TMPDIR resolves through /var -> /private/var on macOS). Opened a fix for that specific case: #857.

Separately, on a large repo (~9k files, mostly node_modules), I also saw the copy pipeline fail with ExecTransportError: exec transport error during the per-file docker exec-based copy into the sandbox, well after staging itself succeeded, which matches the "large repository" framing here more closely than the symlink issue does. I haven't root-caused that one yet (working theory is the file-by-file exec-based copy doesn't hold up well at large file counts), so not claiming a fix, just flagging it as a second, likely-related failure mode in the same local-dir upload path.

In both cases the TUI just hangs on "Loading..." instead of surfacing the underlying error: the scan actually fails/exits in the background within seconds, but the screen never reflects it. That silent-failure behavior seems like a separate bug worth tracking on its own regardless of which staging/copy issue triggers it.

utkutugrul avatar Jul 22 '26 20:07 utkutugrul

try the bind mount, it's copying a lot of files into the container and it takes a while

seanturner83 avatar Jul 23 '26 11:07 seanturner83

Solved this by using --mount instead of --target.

Hyperslava avatar Jul 23 '26 12:07 Hyperslava