Skip to content

Add --service-format and --service-url to uv audit#18571

Merged
woodruffw merged 8 commits intomainfrom
ww/uv-audit-service-flags
Mar 23, 2026
Merged

Add --service-format and --service-url to uv audit#18571
woodruffw merged 8 commits intomainfrom
ww/uv-audit-service-flags

Conversation

@woodruffw
Copy link
Copy Markdown
Member

Summary

This serves two purposes:

  1. It sets up the scaffolding/structure for future vulnerability service backends, e.g. PyPI/PYSEC instead of OSV.
  2. It unblocks a form of integration testing I want to do here, which is with a mocked OSV API (using wiremock).

NB: I'm low confidence on the naming of these options, feedback greatly desired 🙂

See #18506.

Test Plan

But doctor, I am the test plan.

@woodruffw woodruffw requested review from konstin and zanieb March 19, 2026 16:30
@woodruffw woodruffw self-assigned this Mar 19, 2026
@woodruffw woodruffw mentioned this pull request Mar 19, 2026
21 tasks
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 5 untouched benchmarks


Comparing ww/uv-audit-service-flags (3fea9ee) with main (685a798)

Open in CodSpeed

@woodruffw woodruffw force-pushed the ww/uv-audit-service-flags branch from cfa64f8 to 5bb75eb Compare March 20, 2026 12:47
Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw woodruffw force-pushed the ww/uv-audit-service-flags branch from 5bb75eb to ad6eb58 Compare March 23, 2026 11:58
@woodruffw woodruffw changed the title Add --service and --service-url to uv audit Add --service-format and --service-url to uv audit Mar 23, 2026
@woodruffw woodruffw requested a review from konstin March 23, 2026 11:59
Signed-off-by: William Woodruff <william@astral.sh>
@konstin konstin added the preview Experimental behavior label Mar 23, 2026
Signed-off-by: William Woodruff <william@astral.sh>
Co-authored-by: konsti <konstin@mailbox.org>
Copy link
Copy Markdown
Member

@konstin konstin left a comment

Choose a reason for hiding this comment

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

Tried to reshape the comments a bit, not literal suggestions but more the shape of it.

woodruffw and others added 3 commits March 23, 2026 23:14
Co-authored-by: konsti <konstin@mailbox.org>
Signed-off-by: William Woodruff <william@astral.sh>
Signed-off-by: William Woodruff <william@astral.sh>
@woodruffw woodruffw enabled auto-merge (squash) March 23, 2026 14:30
@woodruffw woodruffw merged commit b38bea4 into main Mar 23, 2026
79 checks passed
@woodruffw woodruffw deleted the ww/uv-audit-service-flags branch March 23, 2026 14:32
konstin added a commit that referenced this pull request Mar 24, 2026
## Summary

This serves two purposes: 

1. It sets up the scaffolding/structure for future vulnerability service
backends, e.g. PyPI/PYSEC instead of OSV.
2. It unblocks a form of integration testing I want to do here, which is
with a mocked OSV API (using wiremock).

NB: I'm low confidence on the naming of these options, feedback greatly
desired 🙂

See #18506.

## Test Plan

But doctor, I _am_ the test plan.

---------

Signed-off-by: William Woodruff <william@astral.sh>
Co-authored-by: konsti <konstin@mailbox.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Experimental behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants