Skip to content

Conversation

@neo-andrew-moss
Copy link
Contributor

Hi @SvanBoxel!

I am using this action in a large repo with many codeowners. I am running into an error of Error: stdout maxBuffer length exceeded coming from exec

The default maxBuffer value is 1024 * 1024 and I have changed it to 1024 * 10000 (10 mb).

This is probably overkill for most use cases but it is necessary for very large codebases. Just thought I would flag this and propose an amendment. Let me know what you think.

Cheers!

Copy link
Owner

@SvanBoxel SvanBoxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, wow, I hadn't thought of that but definitely makes sense. Thanks for the PR! Approved. :)

@SvanBoxel SvanBoxel merged commit 0c6fc48 into SvanBoxel:main Jan 4, 2023
@elias-pap
Copy link
Contributor

elias-pap commented Mar 4, 2025

Hello @SvanBoxel. We're using this action in an even larger codebase that requires a bigger number. Would it make sense to make it an action parameter ?
Alternatively the value could be bumped again, but afaict it has been bumped 3 times already and the value is highly subjective depending on the user's codebase. So any hardcoded value might not fit everyone.

@SvanBoxel
Copy link
Owner

Feel free to submit a PR to make it configurable with a sensible default. Thanks!

@elias-pap elias-pap mentioned this pull request Mar 4, 2025
@elias-pap
Copy link
Contributor

Feel free to submit a PR to make it configurable with a sensible default. Thanks!

Actually, I found a better solution. Opened #276.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants