You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea here is that the output_files and output_directories fields represent the files and directories which should be captured after the process runs. They should be merged into one Directory, and the Digest of that Directory is populated on the ExecuteProcessResult here:
An
ExecuteProcessRequest
has anoutput_directories
field:pants/src/rust/engine/process_execution/src/lib.rs
Line 62 in d0aeac5
The idea here is that the
output_files
andoutput_directories
fields represent the files and directories which should be captured after the process runs. They should be merged into oneDirectory
, and theDigest
of thatDirectory
is populated on theExecuteProcessResult
here:pants/src/rust/engine/process_execution/src/lib.rs
Line 80 in d0aeac5
This is currently implemented for local process execution.
Remote process execution only currently fetches the
output_files
, and ignores the directories. This code does the fetching and populating:pants/src/rust/engine/process_execution/src/remote.rs
Lines 443 to 537 in d0aeac5
We already have code to merge multiple
Directory
objects here:pants/src/rust/engine/fs/src/snapshot.rs
Lines 197 to 201 in d0aeac5
So we need to:
pants/src/rust/engine/process_execution/src/remote.rs
Lines 560 to 570 in d0aeac5
Directory
we construct of the files with theDirectory
entries which are returned from the remote response.The text was updated successfully, but these errors were encountered: