Skip to content

Filter down to auditable packages#18322

Merged
woodruffw merged 1 commit intoww/uv-audit-resultsfrom
ww/uv-audit-filter-ws
Mar 9, 2026
Merged

Filter down to auditable packages#18322
woodruffw merged 1 commit intoww/uv-audit-resultsfrom
ww/uv-audit-filter-ws

Conversation

@woodruffw
Copy link
Copy Markdown
Member

Summary

Atop #18193.

This tweaks the baseline filtering we do with uv audit -- previously we only skipped packages without versions, but we should also skip workspace members, since workspace members are local by definition.

Test Plan

Will be tested with integration tests.

@woodruffw woodruffw requested a review from konstin March 5, 2026 18:33
@woodruffw woodruffw self-assigned this Mar 5, 2026
@woodruffw woodruffw added the enhancement New feature or improvement to existing functionality label Mar 5, 2026
@woodruffw woodruffw mentioned this pull request Mar 5, 2026
10 tasks
Signed-off-by: William Woodruff <william@astral.sh>

// Build the list of auditable packages, skipping workspace members. Workspace members are
// local by definition and have no meaningful external package identity to look up in a vuln
// service. We also skip packages without a version, since we can't query for them.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could build them to query that info, but it doesn't make much sense to query source trees overall

@woodruffw woodruffw merged commit dc80a24 into ww/uv-audit-results Mar 9, 2026
53 checks passed
@woodruffw woodruffw deleted the ww/uv-audit-filter-ws branch March 9, 2026 14:50
woodruffw added a commit that referenced this pull request Mar 9, 2026
## Summary

Atop #18193.

This tweaks the baseline filtering we do with `uv audit` -- previously
we only skipped packages without versions, but we should _also_ skip
workspace members, since workspace members are local by definition.

## Test Plan

Will be tested with integration tests.

Signed-off-by: William Woodruff <william@astral.sh>
woodruffw added a commit that referenced this pull request Mar 9, 2026
Atop #18193.

This tweaks the baseline filtering we do with `uv audit` -- previously
we only skipped packages without versions, but we should _also_ skip
workspace members, since workspace members are local by definition.

Will be tested with integration tests.

Signed-off-by: William Woodruff <william@astral.sh>
woodruffw added a commit that referenced this pull request Mar 9, 2026
Atop #18193.

This tweaks the baseline filtering we do with `uv audit` -- previously
we only skipped packages without versions, but we should _also_ skip
workspace members, since workspace members are local by definition.

Will be tested with integration tests.

Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw woodruffw mentioned this pull request Mar 16, 2026
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants