-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wingman: Fix subsequent tactics #2479
Conversation
This new test should pass if the bug is fixed. @pepeiborra I added the changes you suggested in #2448 (comment), but they don't seem to fix the problem. How did you test it? |
Maybe I just got lucky :( - using the repro, the fix worked once. But I didn't double check, and it seems the problem is non deterministic. |
One super useful tool to debug this is Shake profiling. Enable it using the flag
|
FYI your test cannot pass, I just found a bug in |
Grab and test haskell/lsp#376 as we want to include this bug fix for #2479
Grab and test haskell/lsp#376 as we want to include this bug fix for #2479
Grab and test haskell/lsp#376 as we want to include this bug fix for #2479
The test passes for me locally after fixing the bug in lsp-test (haskell/lsp#376) which suggests that it doesn't quite capture the bug identified in #2448 My rebase: #2509 |
I have been looking at this and I believe the issue is in this code: haskell-language-server/plugins/hls-tactics-plugin/src/Wingman/AbstractLSP/Types.hs Lines 122 to 135 in d7a745e
Embedding Prior to 682386d this unspecified behaviour caused no other observable issues than probably space leaks. Now it additionally creates stale values than never get refreshed. |
Very odd. Thanks for continuing to dig in here, @pepeiborra. |
Subsumed by #2580 |
Fixes #2448