ruff/python
Carl Meyer 3d2485eb1b
[ty] fix more ecosystem/fuzzer panics with fixpoint (#17758)
## Summary

Add cycle handling for `try_metaclass` and `pep695_generic_context`
queries, as well as adjusting the cycle handling for `try_mro` to ensure
that it short-circuits on cycles and won't grow MROs indefinitely.

This reduces the number of failing fuzzer seeds from 68 to 17. The
latter count includes fuzzer seeds 120, 160, and 335, all of which
previously panicked but now either hang or are very slow; I've
temporarily skipped those seeds in the fuzzer until I can dig into that
slowness further.

This also allows us to move some more ecosystem projects from `bad.txt`
to `good.txt`, which I've done in
https://github.com/astral-sh/ruff/pull/17903

## Test Plan

Added mdtests.
2025-05-08 20:36:20 -07:00
..
py-fuzzer [ty] fix more ecosystem/fuzzer panics with fixpoint (#17758) 2025-05-08 20:36:20 -07:00
ruff Fix type subscript on older python versions (#15090) 2024-12-21 15:28:02 +01:00
ruff-ecosystem Recognize SyntaxError: as an error code for ecosystem checks (#16879) 2025-03-20 17:25:40 -04:00