curved-television-6568
11/28/2022, 12:20 PMenv()
construct for BUILD files, but hit a graph issue I’ve not figured out yet: 🧵curved-television-6568
11/28/2022, 12:20 PMValueError: Encountered 4 rule graph errors:
Too many sources of dependency FallibleProcessResult for @rule(pants.engine.process:256:fallible_to_exec_result_or_raise(FallibleProcessResult, ProductDescription, KeepSandboxes) -> ProcessResult): [
"@rule(<intrinsic>(Process, ProcessConfigFromEnvironment) -> FallibleProcessResult) (for (EnvironmentNameRequest, Process))",
"@rule(<intrinsic>(Process, ProcessConfigFromEnvironment) -> FallibleProcessResult) (for (EnvironmentNameRequest, Process))",
"@rule(<intrinsic>(Process, ProcessConfigFromEnvironment) -> FallibleProcessResult) (for (EnvironmentNameRequest, Process))",
]
...
curved-television-6568
11/28/2022, 12:21 PM@rule(_masked_types=[EnvironmentName])
where it seemed possibly relevant but it made no difference. Either that’s not what’s needed or I’ve placed them wrong, I guess.. 😅curved-television-6568
11/28/2022, 12:21 PMcurved-television-6568
11/28/2022, 2:03 PMcurved-television-6568
11/28/2022, 2:03 PMcurved-television-6568
11/28/2022, 2:22 PMI’ve tried slapping on a bunch oftried this at a few other places, and that had an impact, but seemed to just shift the issue around and in some cases seemed to make things worse.. 😷where it seemed possibly relevant but it made no difference.@rule(_masked_types=[EnvironmentName])
hundreds-father-404
11/29/2022, 2:00 PMcurved-television-6568
11/29/2022, 2:02 PM