Is your feature request related to a problem? Please describe.
jj run currently offers two output modes: fully silent until completion, or --passthrough. I miss something in-between, which would also be compatible with -j > 1.
Describe the solution you'd like
Something akin to this would be great to have:
$ jj run -r ll:: -- ./gradlew test
Ran on llxkwkzr ... success!
Ran on vszsmyyu ... success!
Ran on yszpqnuy ... success!
Ran on tktqnqwz ... success!
Running on vtkyktou ...
And it would ideally be possible to run it with -j > 1, as well, something like:
$ jj run -j 2 -r ll:: -- ./gradlew test
Ran on llxkwkzr ... success!
Ran on vszsmyyu ... success!
Running on yszpqnuy ...
Ran on tktqnqwz ... success!
Running on vtkyktou ...
If updating a “Currently running …” line to say “Ran command …” is a bit much, then something like this instead would also solve the problem, though it'd be a bit more verbose:
$ jj run -j 2 -r ll:: -- ./gradlew test
Running on llxkwkzr ...
Running on vszsmyyu ...
Ran on llxkwkzr ... success!
Running on yszpqnuy ...
Ran on vszsmyyu ... success!
Running on tktqnqwz ...
Ran on yszpqnuy ... success!
Ran on tktqnqwz ... success!
Running on vtkyktou ...
Haven't put too much thought into the exact output, the main bit is to be able to track progress.
Describe alternatives you've considered
I don't really know any other alternatives than to wrap the command being run in a script that prints the current Change ID, runs the command, then prints “success” or “failure”. But that's quite tedious and feels error-prone.
Is your feature request related to a problem? Please describe.
jj runcurrently offers two output modes: fully silent until completion, or--passthrough. I miss something in-between, which would also be compatible with-j > 1.Describe the solution you'd like
Something akin to this would be great to have:
And it would ideally be possible to run it with
-j > 1, as well, something like:If updating a “Currently running …” line to say “Ran command …” is a bit much, then something like this instead would also solve the problem, though it'd be a bit more verbose:
Haven't put too much thought into the exact output, the main bit is to be able to track progress.
Describe alternatives you've considered
I don't really know any other alternatives than to wrap the command being run in a script that prints the current Change ID, runs the command, then prints “success” or “failure”. But that's quite tedious and feels error-prone.