hundreds-breakfast-49010
02/27/2020, 12:18 AMhundreds-breakfast-49010
02/27/2020, 12:19 AMIntoFuture
trait that says it's implemented on Result<T,E>
and seems like it's meant to be the way to lift a result into a future, but I couldn't get it to typecheckaloof-angle-91616
02/27/2020, 12:19 AMhundreds-breakfast-49010
02/27/2020, 12:35 AMMutex
in favor of the parking_lot one?hundreds-breakfast-49010
02/27/2020, 2:15 AMProjectTree
and FileSystemProjectTree
are two different classes?hundreds-breakfast-49010
02/28/2020, 7:06 PMhappy-kitchen-89482
03/03/2020, 1:56 AMhundreds-breakfast-49010
03/04/2020, 12:01 AMhundreds-breakfast-49010
03/04/2020, 1:37 AMhundreds-breakfast-49010
03/04/2020, 6:36 PMhundreds-breakfast-49010
03/04/2020, 6:38 PMEntryState::Running
, all put onto the futures scheduler at the same timehundreds-father-404
03/04/2020, 6:38 PM./v2 test
on 50 targets with identical requirements and interpreter constraints. Because the cache is cold, we believe that will schedule 50 different EPRs to resolve the same Pex.
Once one EPR finishes, it will write it to the cache, but it would be too late for the 49 other targets to leverage that result. The other 49 targets would already be doing the same work and re-writing to the cache.
After those 50 targets run, then the cache would function normally. We’re trying to optimize for the use case of a completely cold cachehundreds-breakfast-49010
03/04/2020, 6:39 PMEntryState
was still NotStarted
, when we tried to schedule that node, it would successfully do a cache lookup and not execute anythinghundreds-breakfast-49010
03/04/2020, 6:39 PMEntryState::Running
nodes simultaneouslyhundreds-father-404
03/04/2020, 6:40 PMfast-nail-55400
03/04/2020, 6:47 PMhundreds-father-404
03/04/2020, 6:48 PMwould you be able to de-dupe requests by the action’s digest?I think we’d use the same functionality we use to determine the input key to the cache. I believe this is from the Python object’s
__eq__
implementation. Generally, it’s comparing that every field of the object is equal.
We already have that comparison code to determine if two ExecuteProcessRequests are identical. We’d only need to modify the scheduling codehundreds-breakfast-49010
03/04/2020, 9:30 PMhundreds-father-404
03/04/2020, 9:31 PMhundreds-breakfast-49010
03/04/2020, 10:11 PMcapture_snapshots
extern function is ignoring the global --pants-ignore list. is that deliberate?hundreds-breakfast-49010
03/04/2020, 10:11 PMcapture_snapshot_from_arbitrary_root
which creates a PosixFs
with an empty list of ignore files, regardless of what the global options to pants for this are)hundreds-breakfast-49010
03/05/2020, 12:04 AMwitty-crayon-22786
03/05/2020, 2:59 PMwitty-crayon-22786
03/05/2020, 2:59 PMwitty-crayon-22786
03/05/2020, 3:00 PMwitty-crayon-22786
03/05/2020, 3:01 PMwitty-crayon-22786
03/05/2020, 3:28 PMwitty-crayon-22786
03/05/2020, 3:28 PMwitty-crayon-22786
03/05/2020, 3:29 PM