careful-address-89803
08/17/2023, 1:38 AMclass TestResult(EngineAwareReturnType) has cacheable set to False. but naively retrying the Get(TestResult, ...) doesn't result in the re-execution of the rules in that path.careful-address-89803
08/17/2023, 2:09 AMProcess.cache_scope on the process that runs pytest. Set to ProcessCacheScope.PER_SESSION, so trying to run it again won't work.careful-address-89803
08/17/2023, 2:22 AMProcessCacheScope.SUCCESSFUL results in it still being cached, even on failure...careful-address-89803
08/17/2023, 2:41 AMcareful-address-89803
08/17/2023, 3:32 AMfn cacheable(&self) -> bool {
match self {
NodeKey::Task(s) => s.task.cacheable,
&NodeKey::SessionValues(_) | &NodeKey::RunId(_) => false,
_ => true,
}
}
I guess since I'm executing a process I have an ExecuteProcess so it's always cached in the run-graph?bitter-ability-32190
08/17/2023, 11:25 AMbitter-ability-32190
08/17/2023, 11:32 AMbitter-ability-32190
08/17/2023, 11:34 AMbitter-ability-32190
08/17/2023, 11:34 AMbitter-ability-32190
08/17/2023, 11:41 AMcareful-address-89803
08/17/2023, 1:54 PMbitter-ability-32190
08/17/2023, 2:30 PMbitter-ability-32190
08/17/2023, 2:30 PMbitter-ability-32190
08/17/2023, 2:32 PM