hundreds-breakfast-49010
08/31/2020, 11:04 PMPantsEnvironment (or similar name) that the test goal_rule will always generate from os.environs and add as an additional Param when it makes its own Get requestswitty-crayon-22786
08/31/2020, 11:19 PMwitty-crayon-22786
08/31/2020, 11:21 PMhundreds-breakfast-49010
08/31/2020, 11:25 PMPyTest subsystemhundreds-breakfast-49010
08/31/2020, 11:26 PMhundreds-breakfast-49010
08/31/2020, 11:26 PMPyTest after all?hundreds-father-404
08/31/2020, 11:28 PMpytest_runner.py to use it when setting its env. No other processes like black/rules.py should use ithundreds-breakfast-49010
08/31/2020, 11:29 PMPyTest makes sensewitty-crayon-22786
08/31/2020, 11:29 PMhundreds-father-404
08/31/2020, 11:30 PMwitty-crayon-22786
08/31/2020, 11:30 PMtest goal option, and a generic field type for “testable” field setshundreds-breakfast-49010
08/31/2020, 11:30 PMrun_tests goal rule could be in charge of parsing ithundreds-father-404
08/31/2020, 11:31 PMand I guess that way the run_tests goal rule could be in charge of parsing itWhich means you don’t need
PantsEnvironment, as the @goal_rule won’t cache reading the env var?
Generally, I like PantsEnvironment. But also generally, until we have time for more proper design, we shouldn’t generalize more than necessaryhundreds-breakfast-49010
08/31/2020, 11:33 PMPantsEnvironment should be absent some kind of global pants environment filtering functionality, unless it's literally just a copy of pants' environment. and if it's that literal copy we run into the problem with accidental cache invalidation when pants' environment changes spuriouslywitty-crayon-22786
08/31/2020, 11:36 PMwitty-crayon-22786
08/31/2020, 11:37 PMhundreds-breakfast-49010
08/31/2020, 11:37 PMos.environs , right?witty-crayon-22786
08/31/2020, 11:38 PMhundreds-breakfast-49010
08/31/2020, 11:40 PMgoal_rule that you can't do in a normal @rule, right?hundreds-breakfast-49010
08/31/2020, 11:41 PMhundreds-breakfast-49010
08/31/2020, 11:41 PMos.environs, if we can only use itin a goal_rule anywaywitty-crayon-22786
08/31/2020, 11:41 PMwitty-crayon-22786
08/31/2020, 11:42 PMwitty-crayon-22786
08/31/2020, 11:44 PMhundreds-breakfast-49010
08/31/2020, 11:49 PMhundreds-breakfast-49010
08/31/2020, 11:52 PMGet a @side_effecting type, or does that validation work for params only?hundreds-breakfast-49010
08/31/2020, 11:53 PMhundreds-breakfast-49010
08/31/2020, 11:53 PM