Skip to content

Fix portable ps command for remote process picker#14592

Merged
bobbrow merged 2 commits into
microsoft:mainfrom
HuzaifaAbdulRehman:fix-14442-portable-remote-ps
Jul 23, 2026
Merged

Fix portable ps command for remote process picker#14592
bobbrow merged 2 commits into
microsoft:mainfrom
HuzaifaAbdulRehman:fix-14442-portable-remote-ps

Conversation

@HuzaifaAbdulRehman

Copy link
Copy Markdown
Contributor

Summary

Fixes #14442.

The Linux remote process picker now passes each output column to ps with a separate -o option. This avoids the personality-dependent interpretation of comma-separated format specifications while preserving the existing PID, command name, and arguments output layout.

A regression test verifies the portable command construction, and the changelog documents the fix.

Validation

  • corepack yarn compile (passed)
  • Targeted ESLint for the changed TypeScript files (passed)
  • git diff --check (passed)
  • Executed the new command under Ubuntu/WSL and confirmed it produces the expected fixed-width PID, command, and arguments columns

The SingleRootProject scenario runner could not execute locally because the native cpptools binaries are not included in the public source checkout. The scenario test containing the new assertion compiled successfully.

@HuzaifaAbdulRehman

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

Comment thread Extension/CHANGELOG.md Outdated
@HuzaifaAbdulRehman

Copy link
Copy Markdown
Contributor Author

@bobbrow The Linux and Windows checks are failing during dependency installation because the Azure package registry returns HTTP 503 responses (for mkdirp and each-props respectively). The macOS check passed, and neither failing job reached the build or the changed code. I attempted to rerun the failed workflows, but GitHub requires repository admin access. Could you please rerun them when convenient?

@bobbrow bobbrow added this to the 1.33.5 milestone Jul 23, 2026
@bobbrow
bobbrow merged commit 42c703e into microsoft:main Jul 23, 2026
6 of 8 checks passed
@github-project-automation github-project-automation Bot moved this from Pull Request to Done in cpptools Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

pickRemoteProcess relies on personality-depenendent behavior of ps that breaks on some systems

2 participants