Shopify / Shopify/ruby-lsp-rails

Configurable runner for LSP backend

Open
#389 7 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help-wanted
Dominant language
Ruby
Stars
688
Forks
44
PR merge metrics
No merged PRs in 30d

Description

We'd like to be able to configure the runner to support different ways of running the server.rb file.

This is specifically important because our rails code runs inside Kubernetes containers while we develop. Running the Rails LSP on the local machine will come with massive efforts. We'd need to be able to support something like cool-tool exec <container> -- bundle exec rails runner server.rb.

### Tasks
- [ ] Determine how to configure runner command
- [ ] Implement runner command configurability

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in lib/ruby_lsp/ruby_lsp_rails/runner_client.rb at the linked runner configuration and trace how server.rb is invoked. Determine how the runner command should be configured, then verify that it can execute server.rb through an external command such as a container tool while preserving the Rails LSP workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, rails, ruby
Domain
backend, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.