Skip to content

HLS corrupts eventlog #4918

Description

@TeofilC

I am seeing this message in my stderr when running HLS with -la:

haskell-language-server: Event size exceeds EVENT_PAYLOAD_SIZE_MAX, bail out

Your environment

Which OS do you use? NixOS

Which version of GHC do you use and how did you install it? 9.12.4 via haskell.nix

How is your project built (alternative: link to the project)? cabal

Which LSP client (editor/plugin) do you use?

Which version of HLS do you use and how did you install it? 2.14.0

Have you configured HLS in any way (especially: a hie.yaml file)? nah

Steps to reproduce

Run HLS with -la on a big project and notice this message in the logs:

Expected behaviour

Don't corrupt the eventlog

Actual behaviour

haskell-language-server: Event size exceeds EVENT_PAYLOAD_SIZE_MAX, bail out

This then corrupts the eventlog

Debug information

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions