I notice that each daemon restart re-runs the rele...
# general
b
I notice that each daemon restart re-runs the relevant `experimental_shell_command`each time. We're downloading from network, so this can be expensive. Any pointers on debugging what might've changed in the key?
e
The quickest stop should be
-ldebug
for 2 runs. I'm pretty sure the whole Process struct is printed out and that contains all the inputs. Not super-convenient, but I think that gives you all the info you need.
b
I'll try that. Also just checked and my exit code is
0
so we can rule out process failure
Looks like
TOOLS
env var isn't sorted šŸ˜ 
šŸ˜® 1
@witty-crayon-22786 caught another one šŸ˜…
w
mmā€¦ a
set
?
i actually started on a mypy lint for this over vacation, and made decent progress
itā€™s not fully working, but the idea is to 1. ban all
set
iteration, which 2. doesnā€™t occur in a ā€œsafeā€ position: https://github.com/pantsbuild/pants/compare/main...stuhood:pants:stuhood/set-iteration-check (1) is trivialā€¦ was still working on (2)
c
does sets iterate in an undefined order?
w
yes. random per startup.
dict
is deterministic
āž• 1
c
bummer.