Skip to content

Stop mutating the test terminal's environment #3496

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented May 15, 2025

Motivation

We're finding that mutating the environment of the terminal is not a great experience - especially regarding changing BUNDLE_GEMFILE to point to our composed gemfile. If users decide to continue running other tasks in the same terminal, a lot of things can go wrong.

Implementation

This PR stops mutating the environment and changes our URI require to be relative, so that we don't need the BUNDLE_GEMFILE to be set in order to require it.

Copy link
Member Author


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 May 15, 2025
@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 May 15, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review May 15, 2025 16:36
@vinistock vinistock requested a review from a team as a code owner May 15, 2025 16:36
@vinistock vinistock force-pushed the 05-15-stop_mutating_the_test_terminal_s_environment branch from 2b6ad58 to 3aec1e0 Compare May 15, 2025 20:26
@vinistock vinistock merged commit 05695be into main May 15, 2025
36 of 42 checks passed
@vinistock vinistock deleted the 05-15-stop_mutating_the_test_terminal_s_environment branch May 15, 2025 20:53
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