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

Start returning composed bundle environment from initialize request #2880

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Nov 19, 2024

Motivation

Currently, we are always spawning the debug client with the incorrect environment. The reason is because the composed bundle process does a lot of heavy lifting to determine the exact environment variables that need to be set to apply an accurate Bundler configuration.

We need the debug client to have access to the composed environment if we want to be able to launch the debugger properly for all scenarios.

Implementation

Started reading the bundle env and returning it as part of the initialize request.

Automated Tests

Added a test to verify that we're returning the environment.

@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 Nov 19, 2024 — with Graphite App
@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 merged commit a738d5b into main Nov 20, 2024
37 checks passed
@vinistock vinistock deleted the 11-07-start_returning_composed_bundle_environment_from_initialize_request branch November 20, 2024 19:00
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.

2 participants