mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 03:49:26 +00:00
ci: the host job keeps the hunt and semantic extras; a benchmark main no longer leaks GIT_NO_LAZY_FETCH into later tests
The workflow runs pytest twice: in the dagger container (now one failure) and on the runner host, whose job synced the dev group only, so dspy and tree-sitter were missing there (25 failures). The one failure shared by both runs was the partial-clone extraction test: engine_trace.main sets GIT_NO_LAZY_FETCH in the process environment, the variable outlived its tests, and git 2.44 and newer refuse the lazy fetch with "lazy fetching disabled". The local git ignores the variable, so the leak was invisible here; the test module now restores the variable after each test (leak checked with a session-end probe: present before, absent after). Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
17194b3df9
commit
351d73079a
@@ -11,6 +11,9 @@ permissions:
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
# uv run re-syncs to the lockfile's default extras unless told not to; it removed the extras below before pytest.
|
||||
UV_NO_SYNC: "1"
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: astral-sh/setup-uv@v7
|
||||
@@ -19,7 +22,7 @@ jobs:
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version-file: .python-version
|
||||
- run: uv sync --group dev
|
||||
- run: uv sync --group dev --extra hunt --extra semantic
|
||||
- run: uv run ruff format --check .
|
||||
- run: uv run ruff check .
|
||||
- run: uv run mypy src/openultrasast
|
||||
|
||||
Reference in New Issue
Block a user