hundreds-breakfast-49010
07/23/2020, 1:06 AMhundreds-breakfast-49010
07/23/2020, 1:07 AMcacheable method on Node depend on Node::Item, i.e. making its signature fn cacheable(&self, result: Option<&Self::Item>) -> bool;witty-crayon-22786
07/23/2020, 1:08 AMhundreds-breakfast-49010
07/23/2020, 1:09 AMMultiPlatformProcess node, we have the return value of cacheable depend on whether the Process has a certian flag and also whether its output ProcessResult was successful or nothundreds-breakfast-49010
07/23/2020, 1:10 AMcacheable to remove the self, although it's possible we don't need that anywaywitty-crayon-22786
07/23/2020, 1:10 AMhundreds-breakfast-49010
07/23/2020, 1:10 AMhundreds-breakfast-49010
07/23/2020, 1:10 AMcacheable in more places in graph htan I thought we didwitty-crayon-22786
07/23/2020, 1:10 AMwitty-crayon-22786
07/23/2020, 1:11 AMwitty-crayon-22786
07/23/2020, 1:12 AMhundreds-breakfast-49010
07/23/2020, 1:12 AMhundreds-breakfast-49010
07/23/2020, 1:13 AMwitty-crayon-22786
07/23/2020, 1:22 AMcacheable_item(..) , but you would call them both in all of the same placeswitty-crayon-22786
07/23/2020, 1:23 AMEntry in <http://entry.rs|entry.rs> that would call both on &selfwitty-crayon-22786
07/23/2020, 1:25 AMself to match the item (ie, it doesn’t matter that self is a ProcessRequest and the item is a ProcessResult… you use self and the item for independent checks, basically)witty-crayon-22786
07/23/2020, 1:25 AMhundreds-breakfast-49010
07/23/2020, 5:16 AMNode depends on both the node object itself and its output is sound, right?hundreds-breakfast-49010
07/23/2020, 5:16 AMhundreds-breakfast-49010
07/23/2020, 5:17 AMcacheable implementation, I think it could go either wayhundreds-breakfast-49010
07/23/2020, 5:18 AMNode::cacheable, we don't necessarily have the node output value availalable. at least right now with that version of the code the bug in pantsd is not fixedwitty-crayon-22786
07/23/2020, 4:30 PMbut the basic idea that the cacheability of ayea, i think it is.depends on both the node object itself and its output is sound, right?Node
witty-crayon-22786
07/23/2020, 4:31 PM