Skip to content

Tracking PR: live deployment - #54

Draft
joneugster wants to merge 101 commits into
leanprover-community:mainfrom
leanprover:nixos
Draft

Tracking PR: live deployment#54
joneugster wants to merge 101 commits into
leanprover-community:mainfrom
leanprover:nixos

Conversation

@joneugster

Copy link
Copy Markdown
Collaborator

This PR shows the patches live.lean-lang.org has.

DO NOT MERGE

robsimmons and others added 27 commits May 26, 2026 12:15
Also could avoid a screen flash in some cases — not resetting these in the effect handler is an improvement, and worth the cost of two URLSearchParams constructors.
feat: more-standard settings for hiding the navigation bar
feat: link live.lean-lang.org to comparator.live.lean-lang.org feat: link live.lean-lang.org to comparator.live.lean-lang.org
Allow Verso preview in lean4web for correctly configured projects
Full completions when mathlib is imported can be on the order of 200k
items, on the order of 20-40MB jsonrpc responses. Because these are on
the same websocket connection as `$/lean/fileProgress`, we will block
on transferring the completions response before communicating to the
user that elaboration has finished successfully. This sometimes leads
to reportedly 10-30s user-visible latency between finishing typing and
waiting for the yellow spinner in the infoview to resolve.

In practice, completions appear to be compressed by a factor of 8-9x
by the deflate algorithm supported by websockets. We expect this
should improve user-facing (non-completion) responsiveness when large
completions are in flight, as other factors such as JSON.parse or
toString are measured as negligible (well under 100ms) for the same
payload. It may also improve end-to-end completion responsiveness
itself, but probably at most only by a factor of about 2x according to
experiments.
fix: enable compression for large messages
switching 'can I trust this proof' to side menu when collaborating, and enabling selective emphasis of collaborate and comparator in the header bar
merge upstream collaboration features
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.

6 participants