Skip to content

Document a source-aware diagnostics design - #1362

Draft
zanieb wants to merge 1 commit into
zb/rich-publish-response-info-20260922from
zb/rich-diagnostics-notes-20260910
Draft

zanieb wants to merge 1 commit into
zb/rich-publish-response-info-20260922from
zb/rich-diagnostics-notes-20260910

Conversation

@zanieb

@zanieb zanieb commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Describe a source-aware diagnostics design built on uv's error chains, typed information, and hints. The proposal separates retained source text and byte spans from rendering, records the relevant annotate-snippets and ty design tradeoffs, and outlines adoption from parser errors through multi-file and resolver diagnostics.

Prior work: astral-sh#21603, astral-sh#21604, and astral-sh#21605.

@astral-automations-bot astral-automations-bot Bot added the documentation Improvements or additions to documentation label Sep 10, 2026
@zanieb
zanieb added this pull request to stack #1364 September 10, 2026 23:45
@zanieb
zanieb removed this pull request from stack #1364 September 11, 2026 02:14
@zanieb
zanieb changed the base branch from zb/rich-diagnostics-base-20260910 to zb/rich-diagnostics-depot-base-20260910 September 11, 2026 02:15
@zanieb
zanieb force-pushed the zb/rich-diagnostics-notes-20260910 branch from 96f7806 to 8dcbc9a Compare September 11, 2026 02:15
@zanieb
zanieb added this pull request to stack #1382 September 11, 2026 02:17
@zaniebot zaniebot added risk:0 No meaningful change to product, state, release, or automation behavior. priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. labels Sep 11, 2026
@zaniebot zaniebot added priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. priority:1 High: material security boundary, data loss, silent incorrect results, or major regression. and removed priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. labels Sep 11, 2026
@zanieb
zanieb force-pushed the zb/rich-diagnostics-notes-20260910 branch from 8dcbc9a to f960cbf Compare September 22, 2026 20:01
@zanieb
zanieb removed this pull request from stack #1382 September 22, 2026 20:03
@zanieb
zanieb changed the base branch from zb/rich-diagnostics-depot-base-20260910 to zb/rich-publish-response-info-20260922 September 22, 2026 20:11
@zanieb
zanieb force-pushed the zb/rich-diagnostics-notes-20260910 branch from f960cbf to bd98ca5 Compare September 22, 2026 20:26
@zanieb
zanieb added this pull request to stack #2044 September 22, 2026 21:13
@zaniebot zaniebot added priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. and removed priority:1 High: material security boundary, data loss, silent incorrect results, or major regression. labels Sep 23, 2026

This branch has not been deployed

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

Labels

documentation Improvements or additions to documentation priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. risk:0 No meaningful change to product, state, release, or automation behavior. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants