witty-crayon-22786
12/09/2020, 7:15 PMwitty-crayon-22786
12/09/2020, 7:15 PM--test-force
witty-crayon-22786
12/09/2020, 7:16 PMtest
run (from 1.2 to 2.4)witty-crayon-22786
12/09/2020, 7:16 PMwitty-crayon-22786
12/09/2020, 7:18 PMwitty-crayon-22786
12/09/2020, 7:20 PMhundreds-father-404
12/09/2020, 7:28 PM./pants invalidate-binaries
I originally thought no way to manual. It's way too error prone and easy to not know how to do. But the reality is that it seems very rare for something like /usr/bin/tar to change. Especially in CI, it's very rare to change. Even if we can lower the cost, doing it automatically will still add overheadwitty-crayon-22786
12/09/2020, 7:29 PMpantsd
or edit pants.toml
to force a restarthundreds-father-404
12/09/2020, 7:30 PMhappy-kitchen-89482
12/09/2020, 7:32 PMhundreds-father-404
12/09/2020, 7:34 PMwitty-crayon-22786
12/09/2020, 7:37 PMwitty-crayon-22786
12/09/2020, 7:37 PMor upgrade your OSthat is a restart, so pantsd won’t survive it, but yes to the other thing
hundreds-father-404
12/09/2020, 7:43 PMwitty-crayon-22786
12/09/2020, 7:44 PMSession
the same way. a Session
is a single run of pantswitty-crayon-22786
12/09/2020, 7:45 PMpantsd
is up”, afaikhundreds-father-404
12/09/2020, 7:45 PMwitty-crayon-22786
12/09/2020, 7:47 PMSession
.witty-crayon-22786
12/09/2020, 7:47 PMhundreds-father-404
12/09/2020, 7:49 PMwitty-crayon-22786
12/09/2020, 7:50 PM--test-force
, but not both at the same time.hundreds-breakfast-49010
12/09/2020, 7:58 PMwitty-crayon-22786
12/09/2020, 7:58 PMwitty-crayon-22786
12/09/2020, 7:59 PMhundreds-breakfast-49010
12/09/2020, 8:00 PMwitty-crayon-22786
12/09/2020, 8:01 PMhundreds-father-404
12/09/2020, 8:03 PMideally, we would be able to determine if the binary changed under us very quickly, so we could in fact run that check on every pants runI disagree with every run. It rarely changes, and doesn't seem too offensive to me to have to restart pantsd if you install a new interpreter. But, would be good to make it easier to force restart pantsd
hundreds-breakfast-49010
12/09/2020, 8:03 PMhundreds-breakfast-49010
12/09/2020, 8:04 PMwitty-crayon-22786
12/09/2020, 8:04 PMhundreds-breakfast-49010
12/09/2020, 8:05 PMwitty-crayon-22786
12/09/2020, 8:05 PMwitty-crayon-22786
12/09/2020, 8:06 PM