Skip to content

Conversation

@svenier
Copy link
Collaborator

@svenier svenier commented Jan 15, 2026

This adds a new optional field to Process objects of the bytes to be passed into the command's stdin. This has the unfortunate side effect of requiring the command to run locally because the Remote Execution API doesn't support stdin (yet).

svenier added 10 commits January 2, 2026 09:43
Cursor written changes pass cargo testing, but python tests hang.
Committing to move to a new client that with a more consistent
python setup in case that hang is from the version problems.
Passes relevant cargo and pants tests.  Still needs to be tried
with a real build process.  Also needs a round of review &
cleanup of the Cursor generated code - especially the rust.
Delete a bunch of leftover logger calls
Remove superfluous comments, debug prints, and tests.
Default stdin on Process to None to preserve the distinction between
no stdin and stdin of a 0-byte string.
Error out on remote execution with stdin instead of forcing to local
Added one sentence to the release notes.
Made all of the fixes required by both rust and python lint tools
@coveralls
Copy link

coveralls commented Jan 15, 2026

Pull Request Test Coverage Report for Build 21044890724

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 14 of 16 (87.5%) changed or added relevant lines in 3 files are covered.
  • 7 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.002%) to 80.271%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/python/pants/engine/intrinsics.py 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
src/python/pants/engine/intrinsics.py 1 67.96%
src/python/pants/testutil/python_interpreter_selection.py 3 81.25%
src/python/pants/util/osutil.py 3 67.14%
Totals Coverage Status
Change from base Build 21044875149: 0.002%
Covered Lines: 78779
Relevant Lines: 98141

💛 - Coveralls

@svenier
Copy link
Collaborator Author

svenier commented Jan 16, 2026

PR sent directly to mainline. Closing here.

@svenier svenier closed this Jan 16, 2026
@svenier svenier deleted the stdin branch January 16, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants