feat: add uv monitor support for workspace projects#6634
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
85a7c83 to
5cf4566
Compare
This comment has been minimized.
This comment has been minimized.
5cf4566 to
2458615
Compare
This comment has been minimized.
This comment has been minimized.
2458615 to
8ab4bf6
Compare
This comment has been minimized.
This comment has been minimized.
8ab4bf6 to
486f5b9
Compare
thomasschafer
approved these changes
Mar 16, 2026
This comment has been minimized.
This comment has been minimized.
PeterSchafer
approved these changes
Mar 16, 2026
486f5b9 to
32365ad
Compare
PR Reviewer Guide 🔍
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Submission Checklist
are release-note ready, emphasizing
what was changed, not how.
What does this PR do?
Adds support for monitoring all projects in a
uvworkspace.When a
uvworkspace is monitored with--all-packages, each project will be correctly named with the project name and the relative path of its correspondingpyproject.tomlfile.For example, for the subproject
foo, the name of the project in Registry would befoo:foo/pyproject.toml.Where should the reviewer start?
The main change is when
--all-projectsis used, it will now pass the flag--internal-uv-workspace-packagesto thedepgraphcommand. Thedepgraphcommand will return a JSONL stream of JSON objects with the fieldsdepGraphandtargetFileallowing them to be populated for each project.How should this be manually tested?
In a
uvworkspace project folder, which can be created with the following:Run
snyk monitor --all-projectsand it will create 4 projects, one for the main projectuv-test-project-workspace, then one each for the subprojectsproject-a,project-b,project-c.What's the product update that needs to be communicated to CLI users?