```If I specify multiple goals in the command line...
# general
p
Copy code
If I specify multiple goals in the command line (for example: `./pants test lint typecheck src/python/pants/backend/python/lint::`)
 should  tests run in parallel while lint & typecheck and rules are running ? this is not the behavior I am seeing... pants seems to run each goal sequentially even though I have plenty of free CPUs...
h
Yeah it runs sequentially. That’s an enhancement we’d like to make to run multiple goals in parallel
p
ok got it.
w
yea, should be possible to do… i hope that we can do it before we stabilize the plugin API
no ticket about it though, will file.
h
I'm not sure this is the right thing to do in all cases. For example, running
fmt
in parallel with many other goals will trigger race conditions.
w
yeeeap, heh. that one is a pain. mentioned it on there… we might be able to do it by never running a goal that needs the
Workspace
concurrently with another goal
h
Is
Console
safe to have multiple goals righting at the same time?
w
it’s not safe to have them concurrently writing, but that’s mentioned on the ticket.
the difference between that and the Workspace though is that you can’t consume/read-from the
Console
👍 1
and even if you did, you wouldn’t be able to consume the output of another goal.