Skip to content

Decouple Ruby tests from specific machine setup#4088

Merged
vinistock merged 1 commit intomainfrom
04-28-decouple_ruby_tests_from_specific_machine_setup
May 6, 2026
Merged

Decouple Ruby tests from specific machine setup#4088
vinistock merged 1 commit intomainfrom
04-28-decouple_ruby_tests_from_specific_machine_setup

Conversation

@vinistock
Copy link
Copy Markdown
Member

@vinistock vinistock commented Apr 28, 2026

Motivation

Another step towards #2877

Our Ruby test was also coupled with specific machine setups and was in fact failing locally due to recent changes. This PR decouples the test from specific setups, so that contributors (and our own team) can always run these.

Implementation

I extracted a better helper for stubbing VS Code settings since this is repeated pattern in our tests. Then refactored the Ruby activation tests to verify logic with stubs rather than shelling out.

Copy link
Copy Markdown
Member Author

vinistock commented Apr 28, 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 Apr 28, 2026
@vinistock vinistock added the chore Chore task label Apr 28, 2026
@vinistock vinistock marked this pull request as ready for review April 28, 2026 17:17
@vinistock vinistock requested a review from a team as a code owner April 28, 2026 17:17
@vinistock vinistock requested review from alexcrocha and st0012 April 28, 2026 17:18
Comment thread vscode/src/test/suite/ruby.test.ts Outdated
st0012
st0012 approved these changes May 1, 2026
Comment thread vscode/src/test/suite/helpers.ts Outdated
Comment thread vscode/src/test/suite/ruby.test.ts
Base automatically changed from 04-24-decouple_shadowenv_test_from_specific_dev_setup to main May 6, 2026 15:10
@vinistock vinistock force-pushed the 04-28-decouple_ruby_tests_from_specific_machine_setup branch from 53c4ba1 to 0751ffd Compare May 6, 2026 16:11
@vinistock vinistock enabled auto-merge (squash) May 6, 2026 18:09
@vinistock vinistock merged commit 00c168b into main May 6, 2026
40 checks passed
@vinistock vinistock deleted the 04-28-decouple_ruby_tests_from_specific_machine_setup branch May 6, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants