Skip to content

7.0.0-dev.20260403.1 lsp diagnostic params fail to unmarshall in Helix #3336

@kanashimia

Description

@kanashimia

Updating from 7.0.0-dev.20260401.1 to 7.0.0-dev.20260403.1 causes the following error:

tsgo <- InvalidParams: InvalidParams: json: cannot unmarshal JSON object into Go lsproto.Message: InvalidParams: failed to unmarshal *lsproto.DocumentDiagnosticParams: json: cannot unmarshal into Go lsproto.DocumentDiagnosticParams within "/previousResultId": null value is not allowed for field "previousResultId"

Which causes diagnostics to not be displayed, this is on helix 25.07.1 (3d68e0a3) which is a build from master.
I'm not sure if it is a bug here or in the Helix editor, but seems like a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions