Skip to content

Make the output less verbose, to better scale for big repos #1317

@jakub-g

Description

@jakub-g

Description:

Currently the output of the action is very verbose.

For example:

  • repeating the same information per every PR processed, related to features which are disabled: I get the same extra few lines under every PR:
The option any-of-labels (​[https://github.com/actions/stale#any-of-labels​)](https://github.com/actions/stale#any-of-labels%E2%80%8B)) was not specified
  [#221763] └── Continuing the process for this pull request

Overall, every PR processed produces ~25-30 lines of output, which is quite a lot.

Image

It'd be great to prevent such verbose logs, especially the repetition of the same information all the time -- especially if it's related to disabled features.

It'd be much better to write that info once at start that feature X is disabled, and not to repeat it thousands of times.

Justification:

When processing large repo with 10000s of PRs, this can lead to workflow log so long, that it becomes unreadable in GH UI, and I'm told to check RAW logs (which is hard to read due to logs using colored output). So I need to put very low operations to prevent the logs from growing too much.

Are you willing to submit a PR?
Maybe, if I get a strong green light about approach that would be acceptable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions