jolly-midnight-72759
10/17/2020, 2:11 AMrun_in_workspace=True
and input_diget=merged_digest
. These are mutually exclusive according to https://www.pantsbuild.org/docs/rules-api-process#interactiveprocess. How ever the error I got when I ran it that way was
"InteractiveProcessRequest should use the Workspace API to materialize any needed "
ValueError: InteractiveProcessRequest should use the Workspace API to materialize any needed files when it runs in the workspace
Searching for Workspace API lead me to the rules-api-process
document, but I think the wording of the error could be more helpful.jolly-midnight-72759
10/17/2020, 2:12 AMInteractiveProcessRequest should not have `input_digest` set to a value and `run_in_workspace` set to `True`. The Workspace API should be used to materialize....
jolly-midnight-72759
10/17/2020, 2:13 AMhundreds-father-404
10/19/2020, 9:10 PMhundreds-father-404
10/19/2020, 9:11 PMNot sure what Workspace API
Workspace
is a special type that you can request in a @goal_rule
to be able to write to the file system. See https://www.pantsbuild.org/docs/rules-api-file-system#workspacewrite_digest