sparse-lifeguard-95737
10/25/2022, 2:01 PMRuleRunner
in a test? I’m trying to revamp the tests for test
as part of the batching impl, and I think I’ve reached the limit of my guess-and-check strategy 🤯curved-television-6568
10/25/2022, 2:04 PM@logging
decorator from the rule_runner.py testutil? (or @logger
never remember)sparse-lifeguard-95737
10/25/2022, 2:05 PMcurved-television-6568
10/25/2022, 2:06 PMsparse-lifeguard-95737
10/25/2022, 2:07 PMcurved-television-6568
10/25/2022, 2:07 PMsparse-lifeguard-95737
10/25/2022, 2:22 PMsparse-lifeguard-95737
10/25/2022, 2:23 PMNo installed rules return the type Console, and it was not provided by potential callers of @goal_rule(pants.core.goals.test:759:run_tests(Console, TestSubsystem, DebugAdapterSubsystem, Workspace, UnionMembership, DistDir, RunId, ChosenLocalEnvironmentName) -> Test
I see in the rule-runner code that it should be building and injecting a Console
instance, so I’m not sure what’s going wrongfast-nail-55400
10/25/2022, 2:24 PM.request
or .run_goal_rule
?sparse-lifeguard-95737
10/25/2022, 2:24 PMrun_goal_rule
sparse-lifeguard-95737
10/25/2022, 2:26 PMfast-nail-55400
10/25/2022, 2:27 PM.request
calls.fast-nail-55400
10/25/2022, 2:29 PMRuleRunner
until the error goes away. (To the point that you will see some of the Go backend tests add the entire Go backend to the test. 😞 )witty-crayon-22786
10/25/2022, 4:05 PMsparse-lifeguard-95737
10/25/2022, 4:06 PM