Skip to content

[ty] Support uv's nested module ownership metadata - #29436

Merged
zsol merged 1 commit into
mainfrom
zsol/ty-uv-modules-metadata
Oct 16, 2026
Merged

zsol merged 1 commit into
mainfrom
zsol/ty-uv-modules-metadata

Conversation

@zsol

@zsol zsol commented Oct 16, 2026

Copy link
Copy Markdown
Member

A pending uv metadata change moves module owners from module_owners to modules[name].owners. A ty release containing support for the new shape needs to precede uv emitting it without the legacy field.

Read both fields and merge them per module, preferring modules when both contain an entry. An empty owner list also takes precedence, so a module without known owners does not inherit its parent's owners. Unknown package IDs continue to be filtered individually.

@zsol zsol added bug An issue describing something that isn't working, or a PR that fixes a bug ty The ty type checker uv Interactions between Ruff and uv, or between ty and uv labels Oct 16, 2026
@astral-sh-bot

astral-sh-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 98.24%. The percentage of expected errors that received a diagnostic held steady at 98.24%. The number of fully passing files held steady at 134/146.

@astral-sh-bot

astral-sh-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot

astral-sh-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

No diagnostic changes detected ✅

Full report with detailed diff (timing results)

@zsol zsol removed the bug An issue describing something that isn't working, or a PR that fixes a bug label Oct 16, 2026
@zsol
zsol marked this pull request as ready for review October 16, 2026 12:39
@zsol
zsol requested a review from a team as a code owner October 16, 2026 12:39
@astral-sh-bot
astral-sh-bot Bot requested a review from charliermarsh October 16, 2026 12:39
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

An unknown error occurred
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-16T12:41:59.143697Z a02a3a0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@zsol
zsol merged commit d4a7c23 into main Oct 16, 2026
76 checks passed
@zsol
zsol deleted the zsol/ty-uv-modules-metadata branch October 16, 2026 16:09
zsol added a commit to astral-sh/uv that referenced this pull request Oct 25, 2026
Replace the workspace metadata `module_owners` map with `modules`. Each
module name now maps to an object containing an `owners` array. Update
the documentation and existing snapshots for the new shape.

A ty release containing
[astral-sh/ruff#29436](astral-sh/ruff#29436)
must be published before this PR is merged.

This is a followup to
#22395 (comment) by
@zanieb

This branch was previously deployed

1 inactive deployment
automations — a02a3a07 Deployed Oct 16, 2026 by zsol via security-review / security review #92029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty The ty type checker uv Interactions between Ruff and uv, or between ty and uv

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants