Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge composed bundle environment into Ruby object #2881

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Nov 19, 2024

Motivation

Closes #1767, closes #1785

Merge the composed bundle environment into the workspace's Ruby object. The language server sets up the composed bundle environment, returns it, and then we merge that into the Ruby object to ensure that any other parts of the extension are using the exact same environment.

This fixes a few issues people have been experiencing with the debug client.

Implementation

Started merging the composed environment into the Ruby object and then started relying on that for the debug client.

Automated Tests

Added some tests. I will follow up with another PR that creates an integration test for a scenario that currently fails.

@vinistock vinistock added the vscode This pull request should be included in the VS Code extension's release notes label Nov 19, 2024 — with Graphite App
@vinistock vinistock added the bugfix This PR will fix an existing bug label Nov 19, 2024 — with Graphite App
@vinistock vinistock marked this pull request as ready for review November 19, 2024 19:22
@vinistock vinistock requested a review from a team as a code owner November 19, 2024 19:22
@vinistock vinistock force-pushed the 11-07-start_returning_composed_bundle_environment_from_initialize_request branch from be91265 to feaab3e Compare November 19, 2024 19:24
@vinistock vinistock force-pushed the 11-07-merge_composed_bundle_environment_into_ruby_object branch from 0915b82 to 25f00de Compare November 19, 2024 19:24
@vinistock vinistock changed the base branch from 11-07-start_returning_composed_bundle_environment_from_initialize_request to graphite-base/2881 November 20, 2024 19:00
@vinistock vinistock force-pushed the 11-07-merge_composed_bundle_environment_into_ruby_object branch from 25f00de to 2b3512d Compare November 20, 2024 19:41
@vinistock vinistock changed the base branch from graphite-base/2881 to main November 20, 2024 19:41
@vinistock vinistock merged commit dd3968c into main Nov 20, 2024
55 checks passed
Copy link
Member Author

Merge activity

  • Nov 20, 3:08 PM EST: A user merged this pull request with Graphite.

@vinistock vinistock deleted the 11-07-merge_composed_bundle_environment_into_ruby_object branch November 20, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
2 participants