Skip to content

Support LSP partial results and work-done progress for large symbol responses #4721

Description

@Widthdom

Summary

Large LSP document/workspace symbol responses are fully materialized and returned as one payload, with no protocol-level progress or partial-result path.

Integrated v1.39.4 findings

  • Support LSP partial-result and work-done progress for large symbol responses

Evidence

textDocument/documentSymbol for src/CodeIndex/Lsp/LspServer.cs produced about 57 KB in one response during the audit.

Expected behavior / direction

Honor applicable LSP partial-result and work-done tokens, stream bounded chunks, surface truncation/cancellation clearly, and retain deterministic ordering.

Environment

Reproduced with a locally built cdidx v1.39.4 from current origin/main at 87b8bf44210344f52ba4cb7827c149dfad32c0c8, using a fresh repository index on macOS arm64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .NET codeenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions