Skip to content

'sends indefinite progress notifications' test seems to be nondeterministic #4627

Open
@414owen

Description

@414owen

Your environment

Which OS do you use?
Fedora (asahi linux) on m2 mac

more details Linux version 6.14.6-400.asahi.fc42.aarch64+16k (mockbuild@ffdc4fc9100d4bc9a92a03abb0cbad62) (gcc (GCC) 15.1.1 20250425 (Red Hat 15.1.1-1), GNU ld version 2.44-3.fc42) #1 SMP PREEMPT_DYNAMIC Tue May 13 03:29:42 UTC 2025

Which version of GHC do you use and how did you install it?
GHC 9.12.2 from ghcup

Which version of HLS do you use and how did you install it?
master, from git

Steps to reproduce

Run:

cabal test func-test

a few times, in this repo.

Expected behaviour

Tests should pass

Actual behaviour

    sends indefinite progress notifications:                FAIL
      Exception: Timed out waiting to receive a message from the server.
      Last message received:
      {
          "jsonrpc": "2.0",
          "method": "kick/done/hlint",
          "params": [
              "/home/owen/src/haskell-language-server/test/testdata/diagnostics/Foo.hs"
          ]
      }
      Use -p '/sends indefinite progress notifications/' to rerun this test only.

Debug information

Might have something to do with the linux/arm configuration I'm using? I've had this expose race conditions before, because different things just execute at different speeds on this machine...

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