mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 02:08:18 +00:00
The dagger job mounts the checkout without `.git` (excluded from the synced directory), and eleven tests need it. The detection-core final gate and ten tests in the migration files list tracked Python files with `git ls-files` under check=True, so in run 45352669096 each failed for want of that index soon after it started, while the job's 52 performance tests passed. The container now trusts the worktree, which can be owned by another user than the container's, and builds an index of the mounted tree before uv runs. In python:3.11-bookworm the final gate then passes (1 passed in 358 s) and the index holds the same 1031 Python files as on the host; without the index the final gate fails in 12 s.