witty-crayon-22786
09/30/2022, 1:21 AMmain
, but i’ve additionally added Suggestions that primarily deal with needing to mark all targets with environments (rather than only roots): would love feedback tomorrow! thank you.hundreds-father-404
09/30/2022, 4:26 PMhundreds-father-404
09/30/2022, 4:27 PMwitty-crayon-22786
09/30/2022, 4:31 PMdo they need to be partitioned?yea, definitely. afaict, for python an environment should be treated almost equivalently to a resolve, in the sense that runtime involves feeding all of the files into the interpreter, and so while they might be used in different environments here and there safely, in the end they all need to be able to be consumed in one environment that’s not the case for non-interpreted languages
witty-crayon-22786
09/30/2022, 4:32 PMhundreds-father-404
09/30/2022, 4:32 PMhundreds-father-404
09/30/2022, 4:32 PMparametrize()
multiple fields: resolve x environment. That does not work well. And means you can't use defaults anymorewitty-crayon-22786
09/30/2022, 4:33 PMwitty-crayon-22786
09/30/2022, 4:34 PMwitty-crayon-22786
09/30/2022, 4:36 PMwitty-crayon-22786
09/30/2022, 4:37 PMhundreds-father-404
09/30/2022, 4:37 PMhundreds-father-404
09/30/2022, 4:37 PMpython_source
is a roothundreds-father-404
09/30/2022, 4:38 PMi wonder if the answer is actually to skip validation…coke i think
witty-crayon-22786
09/30/2022, 4:39 PMpython_source
is a root, because if we haven’t been validating on an ongoing basis, then you might find a file which proves an incompatibility with some environment.
BUT, it would have to be proving it at check
/ lint
/ etc time rather than at runtime (run
/ test
)witty-crayon-22786
09/30/2022, 4:44 PMwitty-crayon-22786
09/30/2022, 4:46 PMhundreds-father-404
09/30/2022, 4:46 PMwitty-crayon-22786
09/30/2022, 4:49 PMwitty-crayon-22786
09/30/2022, 4:49 PMhundreds-father-404
09/30/2022, 4:51 PMresolve
is wise to eagerly error because it's so unlikely things will work if we don'twitty-crayon-22786
09/30/2022, 4:52 PMwitty-crayon-22786
09/30/2022, 4:53 PMmaybe we don’t need to eagerly error for that though - it could be overly strict.yea, for now. until we understand the safe and unsafe use cases, and can introduce more validation.
witty-crayon-22786
10/03/2022, 5:54 PM