-
-
Notifications
You must be signed in to change notification settings - Fork 389
ghcide-tests' addDependentFile
test
#4194
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
Comments
This comment was marked as resolved.
This comment was marked as resolved.
Odd is that even we restarting the session, we have
But TypeCheck Foo.hs is not rerun |
|
We should be deleting the |
One possiblity
|
The solution would be the removal of dirty keys and the cache values update should go after hls-graph update the value or at least along side, and not the otherside around. Probably should be fixing it too in #4190. |
…nd rule values [flaky test #4185 #4093] (#4190) The main problem is the out of sync state in the build system. Several states involved, the shake database running result state for key. shake extra's dirty state for key and shake extra's rule values state. To stablize the build system. This PR force some of the updates of these state into a single STM block. 1. collect dirtykeys and ship it to session restart directly. No more invalid removal before session restart. Fixing Flaky test failure result in error of GetLinkable #4093 2. move the dirtykey removal and rules values updating to hls-graph by adding a call back fucntion to RunResult. Properly handle the dirtykeys and rule value state after session start and closely followed by another session restart Fixing ghcide-tests' addDependentFile test #4194 3. properly handle clean up by wrapping the asyncWithCleanUp to refreshDeps --------- Co-authored-by: wz1000 <zubin.duggal@gmail.com> Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com> Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
fixed by #4190 |
What is happenning
============================
After file change and index
The correct case
but we sometimes we have, never get the diganostic for file that have changed
The text was updated successfully, but these errors were encountered: