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

Fix file paths for exec launcher on Windows #3073

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 16, 2025

Motivation

We were using exec incorrectly, which was causing an invalid argument error coming from the system.

Implementation

The correct usage of exec is to pass each argument separately.

Automated Tests

I added a new launch integration test, which would've surfaced this issue before to us. Additionally, I made some adjustments to existing tests.

Copy link
Member Author

vinistock commented Jan 16, 2025


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 added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Jan 16, 2025
@vinistock vinistock force-pushed the 01-16-fix_file_paths_for_exec_launcher_on_windows branch 22 times, most recently from de6ec13 to 504d98e Compare January 23, 2025 18:37
@vinistock vinistock self-assigned this Jan 23, 2025
@vinistock vinistock marked this pull request as ready for review January 23, 2025 19:15
@vinistock vinistock requested a review from a team as a code owner January 23, 2025 19:16
@vinistock vinistock requested review from andyw8 and st0012 January 23, 2025 19:16
@vinistock vinistock removed the request for review from a team January 23, 2025 19:16
@vinistock vinistock force-pushed the 01-16-fix_file_paths_for_exec_launcher_on_windows branch 10 times, most recently from 72e94e8 to e584ec7 Compare January 27, 2025 21:30
vscode/src/test/suite/launch.test.ts Outdated Show resolved Hide resolved
@vinistock vinistock force-pushed the 01-16-fix_file_paths_for_exec_launcher_on_windows branch from e584ec7 to 50af30c Compare January 28, 2025 15:03
@vinistock vinistock added the graphite-merge Ship this PR using Graphite's merge queue label Jan 28, 2025
Copy link
Member Author

vinistock commented Jan 28, 2025

Merge activity

  • Jan 28, 10:04 AM EST: The merge label 'graphite-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jan 28, 10:41 AM EST: A user added this pull request to the Graphite merge queue.
  • Jan 28, 11:06 AM EST: A user merged this pull request with the Graphite merge queue.

@vinistock vinistock force-pushed the 01-16-fix_file_paths_for_exec_launcher_on_windows branch from 50af30c to 64aaa57 Compare January 28, 2025 15:13
### Motivation

We were using `exec` incorrectly, which was causing an invalid argument error coming from the system.

### Implementation

The correct usage of `exec` is to pass each argument separately.

### Automated Tests

I added a new launch integration test, which would've surfaced this issue before to us. Additionally, I made some adjustments to existing tests.
@vinistock vinistock force-pushed the 01-16-fix_file_paths_for_exec_launcher_on_windows branch from 64aaa57 to ed15491 Compare January 28, 2025 15:41
@graphite-app graphite-app bot merged commit ed15491 into main Jan 28, 2025
42 checks passed
@graphite-app graphite-app bot deleted the 01-16-fix_file_paths_for_exec_launcher_on_windows branch January 28, 2025 16:06
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 graphite-merge Ship this PR using Graphite's merge queue 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