You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show processing message for lean 3 as well. - #165
@gebner I didn't notice #162 with this -- when I opened up a big Lean 3 file, it didn't get stuck on "Processing file..." when the orange bars were gone in a particular range, while other parts were still processing. Although the infoview was empty there, I'm guessing because the response was empty.
What's a good file to test this on for Lean 4? Or where in particular did you see the problem?
What's a good file to test this on for Lean 4? Or where in particular did you see the problem?
import Lean
open Lean Elab in
elab "slow" : command => do
IO.sleep (ms := 1000)
logInfo "I should be able to see this message in the infoview before the whole file is done."
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
slow
@gebner Thanks for the MWE, I've traced it and AFAICT it's an upstream Lean 4 server issue. It seems to not be responding to our Lean.Widget.getInteractiveDiagnostics RPC calls until the file is fully processed, so many of our async calls are left hanging indefinitely.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@gebner I didn't notice #162 with this -- when I opened up a big Lean 3 file, it didn't get stuck on "Processing file..." when the orange bars were gone in a particular range, while other parts were still processing. Although the infoview was empty there, I'm guessing because the response was empty.
What's a good file to test this on for Lean 4? Or where in particular did you see the problem?