haskell / haskell/haskell-language-server

HLS corrupts eventlog

Open
#4,918 3 comments 1 reaction 0 assignees View on GitHub
type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.