Skip to content

Excessive output logging results in unresponsive Web UI #3750

@oliversalzburg

Description

@oliversalzburg

I know I'm dealing with an edge case. I'm happy to accept that this does not require a solution in the action. I'm giving it a shot regardless :)

I'm dealing with a repository that contains beyond 1 million files, with thousands of changes per PR.. When the action tries to create the pull request, the git wrapper will list every file in the change in the process, sometimes causing over 100 MB of log output.

This is a performance issue for the PR creation itself, as it takes several minutes, and the job log becomes unusable, sometimes the UI has a hard time responding.

It would be nice to have some control over log verbosity in the action. But maybe it would also be a good idea to review logging in general. For example, calls like

const output = await this.exec([
'-c',
'core.quotePath=false',
'show',
'--raw',
'--cc',
'--no-renames',
'--no-abbrev',
`--format=%H%n%T%n%P%n%G?%n%s%n%b%n${endOfBody}`,
ref
])
might not really have to be piped through to stdout, if you really only want to parse the information internally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions