Repository navigation
chore(lsp): remove obsolete design doc references - #4010
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughDocumentation comments and one test name were revised across LSP, multi-project orchestration, project concurrency, and playground code. Obsolete design labels were removed and existing behavior descriptions were clarified without modifying executable logic, APIs, data structures, or test assertions. ChangesLSP transport and runtime documentation
LSP contract and request documentation
Multi-project pipeline documentation
Project concurrency documentation
Playground documentation cleanup
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
⏭️ Performance benchmarks were skippedPerf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to To run them on this PR, do any of the following, then push a commit (or re-run CI):
|
Binary size checks passed✅ 7 passed
Generated by |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
baml_language/crates/bex_project/src/bex_lsp/mod.rs (1)
111-112: 📐 Maintainability & Code Quality | 🔵 TrivialRun
cargo test --libfrombaml_language/.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@baml_language/crates/bex_project/src/bex_lsp/mod.rs` around lines 111 - 112, Run the Rust library test suite with cargo test --lib from the baml_language directory and address any failures related to the LSP error-code mapping documentation or implementation near the single mapping table. Ensure the tests pass without changing the documented behavior that UnknownErrorCode is never emitted.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@baml_language/crates/bex_project/src/bex_lsp/mod.rs`:
- Around line 111-112: Run the Rust library test suite with cargo test --lib
from the baml_language directory and address any failures related to the LSP
error-code mapping documentation or implementation near the single mapping
table. Ensure the tests pass without changing the documented behavior that
UnknownErrorCode is never emitted.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 5fb7b797-6439-4016-b33b-bee2ef2e06ca
📒 Files selected for processing (19)
baml_language/crates/baml_lsp2_actions/src/annotations.rsbaml_language/crates/baml_lsp2_actions/src/tokens.rsbaml_language/crates/baml_lsp_server/src/lib.rsbaml_language/crates/baml_lsp_server/src/lsp_ingress.rsbaml_language/crates/baml_lsp_server/src/lsp_runtime.rsbaml_language/crates/baml_lsp_server/src/native_lsp_sender.rsbaml_language/crates/baml_lsp_server/src/playground_server.rsbaml_language/crates/bex_project/src/bex_lsp/mod.rsbaml_language/crates/bex_project/src/bex_lsp/multi_project/diagnostics.rsbaml_language/crates/bex_project/src/bex_lsp/multi_project/mod.rsbaml_language/crates/bex_project/src/bex_lsp/multi_project/notification.rsbaml_language/crates/bex_project/src/bex_lsp/multi_project/request.rsbaml_language/crates/bex_project/src/bex_lsp/position_codec.rsbaml_language/crates/bex_project/src/bex_lsp/request.rsbaml_language/crates/bex_project/src/bex_lsp/request_cancellation.rsbaml_language/crates/bex_project/src/project.rsdocs/design/lsp-latency-and-mutex-fix.mdtypescript2/pkg-playground/src/ExecutionPanel.tsxtypescript2/pkg-playground/src/run-gating.ts
💤 Files with no reviewable changes (1)
- docs/design/lsp-latency-and-mutex-fix.md
…esign-doc-comments # Conflicts: # baml_language/crates/bex_project/src/bex_lsp/multi_project/mod.rs # baml_language/crates/bex_project/src/bex_lsp/multi_project/request.rs
Summary
Why
The design document served as an implementation plan for #4000. Keeping it after the implementation merged makes the repository carry a stale roadmap, while references such as
I1,D8,B2, andPhase 0Cleave code comments dependent on that external numbering scheme. The updated comments preserve the durable behavior and constraints locally.Validation
cargo fmt --all -- --checkcargo clippyvia commit hookscargo test -p baml_lsp_server -p bex_project -p baml_lsp2_actions(235 passed, 1 ignored)pnpm --filter @b/pkg-playground typecheckpnpm --filter @b/pkg-playground test -- run-gating.test.ts(125 passed)Summary by CodeRabbit