Skip to content

Fix: high latency due to large completion results - #140

Merged
joneugster merged 4 commits into
mainfrom
workaround/large-completion-results
Aug 26, 2026
Merged

joneugster merged 4 commits into
mainfrom
workaround/large-completion-results

Conversation

@joneugster

@joneugster joneugster commented Aug 4, 2026 •

Copy link
Copy Markdown
Collaborator

Truncates the completion results to max. 300 items as a workaround for large completion results blocking everything else, including the more important Lean RPC calls like getting interactive goals.

By the looks of it, the server always dumps all tactic completions, which there are 227 of today, and only filters them in the frontend, so the cutting mark must lie above this number.

This is a workaround and a solution at the level of the LSP-server would be preferable.

May be a solution for #136

@joneugster
joneugster merged commit f7a0456 into main Aug 26, 2026
6 checks passed
@joneugster
joneugster deleted the workaround/large-completion-results branch August 26, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant