Skip to content

[ty] primer updates #17903

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

Merged
merged 1 commit into from
May 9, 2025
Merged

[ty] primer updates #17903

merged 1 commit into from
May 9, 2025

Conversation

carljm
Copy link
Contributor

@carljm carljm commented May 7, 2025

Summary

Update ecosystem project lists in light of #17758

Test Plan

CI on this PR.

@carljm carljm added the ty Multi-file analysis & type inference label May 7, 2025
Copy link
Contributor

github-actions bot commented May 7, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

mesonbuild/meson-python (error)

warning: Detected debug build without --no-cache.
error: Failed to read tests/packages/symlinks/baz.py: No such file or directory (os error 2)
error: Failed to read tests/packages/symlinks/qux.py: No such file or directory (os error 2)

Formatter (preview)

ℹ️ ecosystem check encountered format errors. (no format changes; 1 project error)

mesonbuild/meson-python (error)

ruff format --preview

warning: Detected debug build without --no-cache.
error: Failed to read tests/packages/symlinks/baz.py: No such file or directory (os error 2)
error: Failed to read tests/packages/symlinks/qux.py: No such file or directory (os error 2)

@carljm carljm changed the base branch from main to cjm/mrocycle May 7, 2025 03:23
@carljm carljm changed the title Cjm/mrocycle primer [ty] primer updates May 7, 2025
@carljm carljm closed this May 7, 2025
@carljm carljm reopened this May 7, 2025
@carljm carljm force-pushed the cjm/mrocycle-primer branch from d6874d5 to e1d8765 Compare May 7, 2025 03:57
Copy link
Contributor

github-actions bot commented May 7, 2025

mypy_primer results

No ecosystem changes detected ✅

@carljm carljm force-pushed the cjm/mrocycle branch 2 times, most recently from 1fc3cbe to 919ce69 Compare May 9, 2025 02:08
@carljm carljm force-pushed the cjm/mrocycle-primer branch from e1d8765 to deec2df Compare May 9, 2025 03:02
@carljm carljm force-pushed the cjm/mrocycle-primer branch from deec2df to b47b44a Compare May 9, 2025 03:20
carljm added a commit that referenced this pull request May 9, 2025
## 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
#17903

## Test Plan

Added mdtests.
Base automatically changed from cjm/mrocycle to main May 9, 2025 03:36
@carljm carljm force-pushed the cjm/mrocycle-primer branch from b47b44a to 68f1f2e Compare May 9, 2025 03:37
@carljm carljm merged commit 6c177e2 into main May 9, 2025
35 checks passed
@carljm carljm deleted the cjm/mrocycle-primer branch May 9, 2025 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ty Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants