Skip to content

Comments

Start accepting --beta flag to install beta server version#3976

Open
vinistock wants to merge 1 commit intomainfrom
02-24-start_accepting_--beta_flag_to_install_beta_server_version
Open

Start accepting --beta flag to install beta server version#3976
vinistock wants to merge 1 commit intomainfrom
02-24-start_accepting_--beta_flag_to_install_beta_server_version

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Feb 24, 2026

Motivation

Adopting the new indexer will be a process of ironing out bugs, ensuring all APIs are in place and making sure the implementation is robust.

We need a way to ship beta releases of the server to do this without being too disruptive, while at the same time getting feedback from users.

This PR starts accepting a --beta flag when launching the Ruby LSP, which makes us install a beta release in the composed bundle.

Implementation

The idea is to accept the new flag and use a Gemfile constraint to allow installing pre-release versions.

I avoided using the --pre flag because that applies to all dependencies and would end up trying to update to pre-releases of rbs, prism, ruby-lsp-rails and so on. This constrains the surface area to just ruby-lsp.

Automated Tests

Added tests to verify that we generate the expected composed Gemfile when beta is on.

Copy link
Member Author

vinistock commented Feb 24, 2026


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Feb 24, 2026
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Feb 24, 2026 — with Graphite App
@vinistock vinistock marked this pull request as ready for review February 24, 2026 19:21
@vinistock vinistock requested a review from a team as a code owner February 24, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant