-
-
Notifications
You must be signed in to change notification settings - Fork 491
Description
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
create-pull-request/src/git-command-manager.ts
Lines 164 to 174 in dd2324f
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 | |
]) |