haskell / haskell/haskell-language-server

Install tests to preserve behaviour of persisted rules at startup

Open
#2,318 0 comments 0 reactions 0 assignees View on GitHub
performance type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
3d 21h
Merged PRs (30d)
13

Description

There's been a lot of work done on making hover and getDefinition immediately responsive at startup by using persisted data. Unfortunately we didn't install tests to preserve this fragile property. We should add those tests to the func-test testsuite.

_Originally posted by @pepeiborra in https://github.com/haskell/haskell-language-server/issues/2306

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the func-test testsuite and inspect how startup behavior is exercised for hover and getDefinition when persisted data is available. Add coverage showing both operations are immediately responsive at startup, and run the func-test suite to confirm the behavior is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.