Skip to content

remove unnecessary asyncio mark

852189e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(openai): Avoid consuming iterables passed to the Embeddings API #5491

remove unnecessary asyncio mark
852189e
Select commit
Loading
Failed to load commit list.
GitHub Actions / warden completed Feb 23, 2026 in 2m 51s

1 issue

Medium

Iterator created at test collection time will be exhausted before test runs - `tests/integrations/openai/test_openai.py:1144-1145`

The test uses iter([...]) directly in pytest.param(), which creates the iterator at module load/collection time, not at test execution time. In pytest, parameters are evaluated once during collection. If pytest introspects the parameters (e.g., for --collect-only, verbose output, or test reporting), or if tests are re-run, the iterator may be partially or fully consumed before the actual test executes. This makes the test unreliable and may cause false positives/negatives.

3 skills analyzed
Skill Findings Duration Cost
code-review 0 2m 11s $1.02
find-bugs 1 2m 45s $1.37
skill-scanner 0 48.6s $0.39

Duration: 5m 45s · Tokens: 1.7M in / 17.3k out · Cost: $2.78 (+extraction: $0.00, +dedup: $0.00)