Skip to content

fix(lsp): accept generic progress notifications - #2024

Open
rgrinberg wants to merge 1 commit into
masterfrom
push-wvmkxwvkxtvn
Open

fix(lsp): accept generic progress notifications#2024
rgrinberg wants to merge 1 commit into
masterfrom
push-wvmkxwvkxtvn

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Jul 31, 2026

Copy link
Copy Markdown
Member

Accepts generic $/progress payloads in both notification directions without weakening the existing typed work-done progress variants.

Decoding first attempts the work-done progress union and otherwise retains the value as Json.t. Generic progress therefore round-trips directly, while request-specific typed partial-result helpers can serialize their values before constructing the notification. The baseline snapshot from #2015 is updated to accept the valid payload.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg force-pushed the push-wvmkxwvkxtvn branch from 148e834 to a41d9da Compare July 31, 2026 08:43
@rgrinberg rgrinberg closed this Jul 31, 2026
@rgrinberg rgrinberg reopened this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant