-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ruff_fix_validity to catch regressions in CI not detected by unit tests #4972
Comments
I am happy to craft these changes. 🙂 I just want to make sure that this implementation is sane for the maintainers. |
|
The list here is now very old. There are likely new bugs caught by this beyond what is tracked; the issue is about making sure that the fuzzer is not enabled constantly unnecessarily. |
Correct, sorry for misreading discription.
I think it's better to use cron jobs workflow instead. |
As in, a scheduled workflow? Makes sense. |
The fuzzers added in #4822 can be used to catch regressions for which there exists no unit tests (see: #4863 as an example of this; caught by
ruff_fix_validity
within ~30 seconds). PRs should include a short fuzz run (5-10m) before merging. Failure cases can then be added to the unit test suite.Before that happens, the following issues (discovered by fuzzing currently and will cause this CI step to fail) should be resolved:
This change should include the following:
fuzz/corpus/ruff_fix_validity
(~20MB)timeout 10m cargo fuzz run -s none ruff_fix_validity -- -timeout=5 || [[ $? -eq 124 ]]
after thefuzz build
stepIn the future, when parser idempotency is more stable or new fuzzers exist (such as for formatting), this should be included as well.
The text was updated successfully, but these errors were encountered: