You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a81291e
Browse filesBrowse the repository at this point in the historyBrowse files
[ty] Defer uv workspace discovery until after project configuration (#28525)
## Summary
Today, we call uv metadata before we discover the ty project. This is
fine for `uv check` where we always want to call uv metadata, but it's
problematic for `ty check` because it prevents us from adding a
configuration option to skip the metadata discovery (an opt out).
This PR refactors the discovery to:
1. Find the ty project
2. Use the project to decide whether to call uv (for now, this is
skipped because this PR doesn't add the setting)
3. Call uv metadata and if the uv discovered project is different from
ty's, make that project the root instead
## Test Plan
Testing: Project, CLI uv workspace, and language server tests pass;
Clippy and hooks pass.
0 commit comments