Cannot read properties of undefined (reading 'sendRequest')
Open
Nobody has claimed this yet.
bug
- Dominant language
- Ruby
- Stars
- 2k
- Forks
- 281
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 6
Description
Description
Ruby LSP Information
VS Code Version
1.131.0
Ruby LSP Extension Version
0.10.6
Ruby LSP Server Version
0.26.10
Ruby LSP Add-ons
- Ruby LSP Rails (0.4.8)
- RuboCop (1.88.2)
Ruby Version
3.4.10
Ruby Version Manager
mise
Installed Extensions
Click to expand
(I had to redact others, sorry)
- ruby-lsp (0.10.6)
Ruby LSP Settings
Click to expand
Workspace
{}
User
{
"enabledFeatures": {
"codeActions": true,
"diagnostics": true,
"documentHighlights": true,
"documentLink": true,
"documentSymbols": true,
"foldingRanges": true,
"formatting": true,
"hover": true,
"inlayHint": true,
"onTypeFormatting": true,
"selectionRanges": true,
"semanticHighlighting": true,
"completion": true,
"codeLens": true,
"definition": true,
"workspaceSymbol": true,
"signatureHelp": true,
"typeHierarchy": true
},
"featuresConfiguration": {},
"addonSettings": {},
"rubyVersionManager": {
"identifier": "auto"
},
"customRubyCommand": "",
"formatter": "auto",
"linters": null,
"bundleGemfile": "",
"testTimeout": 30,
"pullDiagnosticsOn": "both",
"useBundlerCompose": false,
"bypassTypechecker": false,
"rubyExecutablePath": "",
"indexing": {},
"erbSupport": true,
"featureFlags": {},
"sigOpacityLevel": "1"
}
Reproduction steps
- Open VSCode Copilot Chat in agent mode in this example I was using my own Qwen3.6-35B-A3B-NVFP4 server (running with vLLM, which does support tool calling)
- Run @ruby /design Any prompt
- See unexpected behavior Error message
Cannot read properties of undefined (reading 'sendRequest')
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure in VS Code Copilot Chat agent mode with the @ruby /design entry point and the reported Ruby LSP and extension versions. Trace the integration involved in handling that request and determine why sendRequest is undefined. Done means the reported prompt no longer produces this error, with the behavior verified in the same setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100