Skip to content

Revert preview changes to displayed diagnostic severity in LSP#24789

Merged
dylwil3 merged 1 commit intoastral-sh:mainfrom
dylwil3:revert-lsp-diagnostics-preview
Apr 22, 2026
Merged

Revert preview changes to displayed diagnostic severity in LSP#24789
dylwil3 merged 1 commit intoastral-sh:mainfrom
dylwil3:revert-lsp-diagnostics-preview

Conversation

@dylwil3
Copy link
Copy Markdown
Collaborator

@dylwil3 dylwil3 commented Apr 22, 2026

Since it may take a little more time to support user-configured severities, it makes sense to revert this change for now as it is disruptive to users and there is no workaround.

(I don't think it's necessary to change the preview behavior in the CLI since both the displayed color and the exit-code behavior is unchanged.)

Closes #24069

Screenshots

Before:
Screenshot 2026-04-22 at 10 29 51 AM

After:
Screenshot 2026-04-22 at 10 30 46 AM

@dylwil3 dylwil3 added preview Related to preview mode features server Related to the LSP server labels Apr 22, 2026
Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

🥳

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 22, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@dylwil3 dylwil3 merged commit 9e7adca into astral-sh:main Apr 22, 2026
44 checks passed
@dylwil3 dylwil3 deleted the revert-lsp-diagnostics-preview branch April 22, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Related to preview mode features server Related to the LSP server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

diagnostics use error severity in preview mode

2 participants