Skip to content

feat: show live Lake LSP loading progress in status bar of editors instead of top of file#13608

Draft
wvhulle wants to merge 2 commits intoleanprover:masterfrom
wvhulle:lake-build-progress
Draft

feat: show live Lake LSP loading progress in status bar of editors instead of top of file#13608
wvhulle wants to merge 2 commits intoleanprover:masterfrom
wvhulle:lake-build-progress

Conversation

@wvhulle
Copy link
Copy Markdown

@wvhulle wvhulle commented May 2, 2026

This PR makes Lake LSP emit live progress messages while loading Lean file in status bar of LSP-compliant editors.

@wvhulle wvhulle force-pushed the lake-build-progress branch from 937423a to 99c7b22 Compare May 2, 2026 16:33
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 2, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

mathlib-lean-pr-testing Bot commented May 2, 2026

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 508a1132422faa6d0a35a135909ddc0526910783 --onto 0a6c31520b2ebaa6e71227454b46ebfb4986ae7b. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-02 17:13:25)
  • ❗ Mathlib CI can not be attempted yet, as the nightly-testing-2026-05-02 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-02 18:21:08)

@leanprover-bot
Copy link
Copy Markdown
Collaborator

leanprover-bot commented May 2, 2026

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 508a1132422faa6d0a35a135909ddc0526910783 --onto 3fc99eef102549c743c6c63547983319bfae6f01. You can force reference manual CI using the force-manual-ci label. (2026-05-02 17:13:26)
  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-05-02 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-05-02 18:21:09)

wvhulle added 2 commits May 2, 2026 19:31
Adds WorkDoneProgress types and the workDoneProgress capability so the
server can advertise and emit $/progress notifications. Generic LSP
plumbing — no consumer yet.
When a worker triggers a lake build via setupFile, route stderr lines to
work-done progress notifications instead of stuffing them into a synthetic
diagnostic. Falls back to the diagnostic path for clients that don't
advertise workDoneProgress capability.
@wvhulle wvhulle force-pushed the lake-build-progress branch from 99c7b22 to 8e445d6 Compare May 2, 2026 17:31
@wvhulle wvhulle changed the title Lake build progress feat: show live Lake LSP loading progress in status bar of editors instead of top of file May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants