pyright-action icon indicating copy to clipboard operation
pyright-action copied to clipboard

Too verbose output when ran many times

Open Akuli opened this issue 4 years ago • 2 comments

Typeshed's CI runs pyright on 3 different platforms and 5 different Python versions, meaning a total of 15 messages on each line with a problem (only 4 messages fit into the screenshot):

huge

This makes diffs quite unreadable. It would be nicer if the messages were combined together.

Akuli avatar May 05 '21 18:05 Akuli

Thanks for the issue. This happens because they are separate jobs that run in parallel; actions don't really have knowledge of other actions run on other machines.

I'm honestly not sure how to avoid this other than to give up performance and support running the matrix all on one machine (where then the outputs could potentially be merged in some fashion).

As a workaround, I can add a mode that doesn't output these messages and just runs pyright as a CLI tool (like it used to); this would mean the action still improves performance in the meantime while I think about this.

jakebailey avatar May 05 '21 18:05 jakebailey

I added no-comments, and will send typeshed a PR to enable it.

jakebailey avatar May 05 '21 18:05 jakebailey