turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Aggregated Output Support

Open zaripych opened this issue 2 years ago • 1 comments

Describe the feature you'd like to request

When analysing output for a turbo-run that ran against multiple packages the output sometimes becomes hard to comprehend.

Example: image

Describe the solution you'd like

pnpm provides an option to print an aggregated output. Just doing something similar makes total sense, given turbo already stores all the log output in files ...

Describe alternatives you've considered

Nothing comes to my mind. Except running turbo twice ... but only works if cache was hit and tasks ran successfully.

zaripych avatar Jul 02 '22 14:07 zaripych

Hmmm. A bunch of subjective extra thoughts:

With aggregated output it now also makes sense to stop using package:task prefix in front of every line. Which should save so much space.

Alternatively, package:task could be shortened to a short id. Ie

[AAA]  Test Suites: 2 passed, 2 total

The color of every unique prefix could be different. It also seems like a good idea to reduce brightness of the prefix - as it does have lower value potentially compared to what goes after it.

zaripych avatar Jul 02 '22 15:07 zaripych

second this -- pnpm's windowed-logging approach is really nice. It only shows more output when tasks fail, which I think is appropriate.

NullVoxPopuli avatar May 07 '23 15:05 NullVoxPopuli

You can use --log-order=grouped now!

mehulkar avatar Oct 20 '23 17:10 mehulkar