Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Nov 7, 2025

No description provided.

@zanieb zanieb marked this pull request as draft November 7, 2025 18:00
@zanieb zanieb temporarily deployed to uv-test-registries November 7, 2025 18:02 — with GitHub Actions Inactive
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 7, 2025

CodSpeed Performance Report

Merging #16638 will degrade performances by 18.5%

Comparing zb/metadata-deps (c0801e3) with zb/metadata (052b89d)

Summary

❌ 1 regression
✅ 5 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Mode Benchmark BASE HEAD Change
Simulation resolve_warm_airflow 764.5 ms 938.1 ms -18.5%

@zanieb zanieb force-pushed the zb/metadata branch 2 times, most recently from 83d8f8a to 8658f99 Compare November 11, 2025 15:34
Base automatically changed from zb/metadata to main November 11, 2025 15:46
zanieb added a commit that referenced this pull request Nov 11, 2025
This adds the scaffolding for a `uv workspace metadata` command, as an
equivalent to `cargo metadata`, for integration with downstream tools. I
didn't do much here beyond emit the workspace root path and the paths of
the workspace members. I explored doing a bit more in #16638, but I
think we're actually going to want to come up with a fairly
comprehensive schema like `cargo metadata` has. I've started exploring
that too, but I don't have a concrete proposal to share yet.

I don't want this to be a top-level command because I think people would
expect `uv metadata <PACKAGE>` to show metadata about arbitrary packages
(this has been requested several times). I also think we can do other
things in the workspace namespace to make trivial integrations simpler,
like `uv workspace list` (enumerate members) and `uv workspace dir`
(show the path to the workspace root).

I don't expect this to be stable at all to start. I've both gated it
with preview and hidden it from the help. The intent is to merge so we
can iterate on it as we figure out what integrations need.
@elephantum
Copy link

@zanieb I'm excited about this PR, it will make my own workspace parser obsolete!

Any timeline for release? :)

@zanieb
Copy link
Member Author

zanieb commented Nov 12, 2025

I might hold off here and work a bit more on a design that generalizes better, like cargo metadata's format.

@elephantum
Copy link

Thanks! I will not rely then, that it will appear in the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants