From f8e00e3cd9a2d9057dc6eee61c4f6af45a12fa20 Mon Sep 17 00:00:00 2001 From: David Peter Date: Tue, 14 Oct 2025 20:02:20 +0200 Subject: [PATCH] [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 --- .github/workflows/ci.yaml | 2 +- python/py-fuzzer/fuzz.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 87252c9fd9..78e22a12d0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/python/py-fuzzer/fuzz.py b/python/py-fuzzer/fuzz.py index 668317c893..b5a14abc1b 100644 --- a/python/py-fuzzer/fuzz.py +++ b/python/py-fuzzer/fuzz.py @@ -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