mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
[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:
1 parent
591e9bbccb
commit
f8e00e3cd9
2 files changed
+3
-3
No files matched your search
@@ -142,7 +142,7 @@ jobs:
|
||||
env:
|
||||
MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
|
||||
run: |
|
||||
if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py_fuzzer/**' \
|
||||
if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py-fuzzer/**' \
|
||||
; then
|
||||
echo "changed=false" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
|
||||
@@ -152,8 +152,8 @@ class FuzzResult:
|
||||
|
||||
def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult:
|
||||
"""Return a `FuzzResult` instance describing the fuzzing result from this seed."""
|
||||
# TODO(carljm) debug slowness of this seed
|
||||
skip_check = seed in {208}
|
||||
# TODO debug slowness of these seeds
|
||||
skip_check = seed in {32, 56, 208}
|
||||
|
||||
code = generate_random_code(seed)
|
||||
bug_found = False
|
||||
|
||||
Reference in new issue
Block a user