| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Performance Report (Linux) ➖
Legend
|
Sorry, something went wrong.
Test Coverage Report (Linux)
Coverage increased! Great work! |
Sorry, something went wrong.
Performance Report (Windows) ✅
Legend
|
Sorry, something went wrong.
Test Coverage Report (Windows)
Coverage increased! Great work! |
Sorry, something went wrong.
|
Zsolt Dollenstein (@zsol) This is my attempt at addressing the TODOs in the uv crate. Let me know what you think. |
Sorry, something went wrong.
Performance Report (macOS)
Legend
|
Sorry, something went wrong.
There was a problem hiding this comment.
looks good to me, I had one comment
Sorry, something went wrong.
Address @zsol's review: find_workspace_for_project now iterates from project_path (not parent) so a project that also defines [tool.uv.workspace] is discovered. The workspace root is always considered a member of its own workspace (early return on empty relative path). Two new tests cover the self-workspace case.
There was a problem hiding this comment.
This PR completes pet-uv’s uv workspace support by parsing and validating [tool.uv.workspace] members/exclude rules and by discovering workspace roots by walking up parent directories, improving correctness in monorepo/workspace layouts.
Changes:
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/pet-uv/src/lib.rs | Implements workspace member/exclude validation, parent workspace discovery, and adds tests for the new behavior. |
| crates/pet-uv/Cargo.toml | Adds the glob dependency needed for workspace glob matching. |
| Cargo.lock | Locks the new glob dependency for pet-uv. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Addresses the TODO items in pet-uv for workspace member/exclude validation.
Changes
Fixes #290
cc Zsolt Dollenstein (@zsol) — would appreciate your input since you authored the original pet-uv workspace support in #263.