witty-crayon-22786
09/25/2020, 6:25 PMSpecs
should probably not be a `SessionValue`: https://github.com/pantsbuild/pants/issues/6845 and https://github.com/pantsbuild/pants/blob/master/src/rust/engine/graph/README.md#inputs-and-identity attempt to explain the connection between identity and cacheability, but they don’t do a great job of itwitty-crayon-22786
09/25/2020, 6:26 PMwitty-crayon-22786
09/25/2020, 6:27 PMwitty-crayon-22786
09/25/2020, 6:28 PMwitty-crayon-22786
09/25/2020, 6:30 PMSpecs
is: if i ran ./pants test x
and then ./pants test y
, would i want those to be considered “the same run”?witty-crayon-22786
09/25/2020, 6:30 PMwitty-crayon-22786
09/25/2020, 6:30 PM./pants test x -- -k some_test
to be the same run?witty-crayon-22786
09/25/2020, 6:30 PMwitty-crayon-22786
09/25/2020, 6:31 PMwitty-crayon-22786
09/25/2020, 6:32 PMSpecs
don’t actually go that deep in the graph: take a look at the visualization of the graph, and you can see which portion the Specs
create the identity/memoization key forwitty-crayon-22786
09/25/2020, 6:34 PMfor Specs
are actually dependent on the specs.