[ty] Ignore slow seeds as a temporary measure (#20870)

## Summary

Basically what @AlexWaygood suggested
[here](https://github.com/astral-sh/ruff/pull/20802#issuecomment-3402218389)
(thank you).

## Test Plan

CI on this PR
This commit is contained in:
David Peter 2025-10-14 20:02:20 +02:00 committed by GitHub
parent 591e9bbccb
commit f8e00e3cd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -142,7 +142,7 @@ jobs:
env: env:
MERGE_BASE: ${{ steps.merge_base.outputs.sha }} MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
run: | run: |
if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py_fuzzer/**' \ if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py-fuzzer/**' \
; then ; then
echo "changed=false" >> "$GITHUB_OUTPUT" echo "changed=false" >> "$GITHUB_OUTPUT"
else else

View file

@ -152,8 +152,8 @@ class FuzzResult:
def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult: def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult:
"""Return a `FuzzResult` instance describing the fuzzing result from this seed.""" """Return a `FuzzResult` instance describing the fuzzing result from this seed."""
# TODO(carljm) debug slowness of this seed # TODO debug slowness of these seeds
skip_check = seed in {208} skip_check = seed in {32, 56, 208}
code = generate_random_code(seed) code = generate_random_code(seed)
bug_found = False bug_found = False