A repository with many submodules sat on "Projekt erkennen" for ten
minutes with no sign of progress, and Stage 0 then cloned it a second
time under the target's name (about 10 GB and 20 minutes per run for
the FreeRTOS STM32U5 reference).
- ScanRun.current_step records the step inside the phase: cloning,
submodules, unpacking, project type, firmware analysis. The dashboard
shows it next to the phase and in the stepper; a phase change clears it.
- Ingest runs in spawn_blocking and reports its steps over a channel,
so a long clone no longer blocks an async worker.
- Every reader of a git target's checkout (Stage 0, commit watermark,
graph file viewer, chat, PR review) uses the artifact-id directory
ingest clones into, so the repository is fetched once per scan.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p