Skip to content

feat: ship lsp-probe test-equipment binary#13696

Draft
wvhulle wants to merge 1 commit into
leanprover:masterfrom
wvhulle:lsp-probe
Draft

feat: ship lsp-probe test-equipment binary#13696
wvhulle wants to merge 1 commit into
leanprover:masterfrom
wvhulle:lsp-probe

Conversation

@wvhulle
Copy link
Copy Markdown

@wvhulle wvhulle commented May 10, 2026

This PR adds a small script that wraps the IPC library to run a test LSP client which could be used in tests or by consumers

Add a small CLI that drives `lean --server` via Lean.Lsp.Ipc and dumps
all published diagnostics for a target file. Useful for end-to-end LSP
debugging without an editor. Mirrors tests/server/diags.lean's pattern,
but as an installed binary instead of a CTest-only script.

Override the spawned server with LEAN_PROBE_BIN=/path/to/lean.
@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 10, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

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 5d5642107d0433519265f155ddbfbfb98007a80b. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-10 16:45:24)

@leanprover-bot
Copy link
Copy Markdown
Collaborator

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 a71f158f7bd96ff9ea846f7ff4cc658de3c8b0f9. You can force reference manual CI using the force-manual-ci label. (2026-05-10 16:45:26)

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