Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ty] Add a go-to destination for Divergent#26162

Merged
AlexWaygood merged 1 commit into
mainfrom
alex/divergent-docs
Jun 19, 2026
Merged

[ty] Add a go-to destination for Divergent#26162
AlexWaygood merged 1 commit into
mainfrom
alex/divergent-docs

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

Summary

Divergent is here to stay, and we've documented what it means: astral-sh/ty@d299a29. This PR adds a go-to target for the type, so that users can command+click on the type when it appears in inlay hints in VSCode, and they'll be taken to a definition that has documentation explaining the type's meaning.

Test Plan

Hovering over an inlay hint in a local deploy of the playground:

Screenshot image

@AlexWaygood AlexWaygood requested a review from carljm June 19, 2026 20:49
@AlexWaygood AlexWaygood added the server Related to the LSP server label Jun 19, 2026
@AlexWaygood AlexWaygood requested a review from a team as a code owner June 19, 2026 20:49
@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Jun 19, 2026
@AlexWaygood AlexWaygood requested review from a team as code owners June 19, 2026 20:49
@astral-sh-bot

astral-sh-bot Bot commented Jun 19, 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 94.37%. The percentage of expected errors that received a diagnostic held steady at 89.00%. The number of fully passing files held steady at 94/134.

@astral-sh-bot

astral-sh-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

Memory usage report

Summary

Project Old New Diff Outcome
trio 78.61MB 78.61MB +0.01% (6.77kB)
prefect 524.50MB 524.51MB +0.00% (6.30kB)
sphinx 195.93MB 195.93MB +0.00% (3.58kB)
flake8 31.37MB 31.36MB -0.03% (10.99kB) ⬇️

Significant changes

Click to expand detailed breakdown

trio

Name Old New Diff Outcome
parsed_module 15.03MB 15.04MB +0.04% (6.77kB)

prefect

Name Old New Diff Outcome
parsed_module 19.35MB 19.36MB +0.03% (6.30kB)

sphinx

Name Old New Diff Outcome
parsed_module 18.36MB 18.36MB +0.02% (3.58kB)

flake8

Name Old New Diff Outcome
parsed_module 9.77MB 9.76MB -0.11% (10.99kB) ⬇️

@astral-sh-bot

astral-sh-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

No diagnostic changes detected ✅

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Full report with detailed diff (timing results)

@AlexWaygood AlexWaygood merged commit cc78012 into main Jun 19, 2026
60 checks passed
@AlexWaygood AlexWaygood deleted the alex/divergent-docs branch June 19, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server Related to the LSP server ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants