-
Notifications
You must be signed in to change notification settings - Fork 315
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
constant state of 'Indexing' #6418
Comments
Thanks for reporting! Any chance to get a stack trace of the case where indexing hangs? Would probably make it much easier to figure out |
If you pull in the latest |
Turns out one lbirary released broken source without ending quote and this caused the infinite indexing. Fixes scalameta#6418
Ok, this was interesting. Our issue was caused by hadoop releasing broken sources with: We assumed that sources released actually compile, which is a reasonable assumption I though. Added a workaround for that possibility. |
💯 There's no way sources should be broken. I'll report that to the project. |
Turns out that I was able to get rid of that dependency in my project, so there is to rush to release the fix, at least for me. I think it's a pretty rare occurrence, saying that, it did come in via Spark, which I don't think is that rare. |
Turns out one lbirary released broken source without ending quote and this caused the infinite indexing. Fixes scalameta#6418
No worries, I will just merge the workaround and hopefully this should no happen with the next release. Though I think it's worth investigating on their side why this happened. I am pretty sure we are not the only tooling that might use sources. |
Turns out one lbirary released broken source without ending quote and this caused the infinite indexing. Fixes #6418
Still something is off:
For the same bloop files |
We started indexing Java jars, but that should not cause that much of an increase 🤔 Any chance to get this as a repro or at least a basic build.sbt with the deps? The issue you are experiencing is for sure something different. |
Sadly the dep tree starts with an internal library suite. So not easy to make that available, but I'll have a shot looking at the difference in file accesses between both versions using procmon. But likely not before tomorrow. |
Is the project using a lot of Java deps? Could that explain a difference in indexing? Also this should only be at the start |
Describe the bug
After the latest upgrade last night, my project is now in a constant state of indexing, with one of my cores pinned at 100%. The new version is unusable to me. I've attached the index error report.
reports.zip
Expected behavior
Indexing completes.
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.3.1
Extra context or search terms
I'm also noticing that many of my project now report SemanticDB errors, but I'm assuming that's because the indexing is not completing.
The text was updated successfully, but these errors were encountered: