Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: stdout maxBuffer length exceeded #253

Closed
sammcj opened this issue Oct 2, 2022 · 4 comments · Fixed by #281
Closed

Error: stdout maxBuffer length exceeded #253

sammcj opened this issue Oct 2, 2022 · 4 comments · Fixed by #281
Labels
bug Something isn't working released

Comments

@sammcj
Copy link
Contributor

sammcj commented Oct 2, 2022

🐞 Describe the bug

Similar to #174 but using the latest available version (v1.17.21 at the time of writing this).

When running the action across a number of a repos, several return the error Error: stdout maxBuffer length exceeded.

With debug logging enabled:

##[debug]EXEC: "git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
Error: stdout maxBuffer length exceeded
##[debug]{"code":"ERR_CHILD_PROCESS_STDIO_MAXBUFFER","cmd":"git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc"}
Repository Info
Slug		: github-app-installation-token
Owner		: sammcj
Https Url	: https://github.com/sammcj/github-app-installation-token

Repo: https://github.com/sammcj/check-renamed-files-action

📚 To reproduce

I believe you could fork https://github.com/sammcj/check-renamed-files-action and try syncing files to it.

💡 Expected behavior

Not fail on error.

🖼️ Screenshots

No response

⚙️ Environment

v1.17.21

📋 Additional context

 ##[debug]CP: sync-files/dotfiles/actions-repos/.gitignore TO tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main/.gitignore
##[debug]EXEC: "git add -f ".gitignore"" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]EXEC: "git status --porcelain" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]Creating commit for file(s) .gitignore
##[debug]EXEC: "git commit -m 'chore: Sync Files - 2022/10/02 -- [bot] Synced local '\''.gitignore'\'' with remote '\''sync-files/dotfiles/actions-repos/.gitignore'\'''" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]EXEC: "git status --porcelain" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
Pushing changes to target repository
##[debug]EXEC: "git log --format=%H --reverse main..HEAD" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]EXEC: "git log -1 --format=%B f90ff334cb91728ae54ce0311e374dda2d904ccc" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]EXEC: "git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]Creating missing blobs on GitHub
##[debug]EXEC: "git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc~1" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
##[debug]EXEC: "git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc" IN tmp-1664748747018/github.com/sammcj/check-renamed-files-action@main
Error: stdout maxBuffer length exceeded
##[debug]{"code":"ERR_CHILD_PROCESS_STDIO_MAXBUFFER","cmd":"git ls-tree -r --full-tree f90ff334cb91728ae54ce0311e374dda2d904ccc"}
Repository Info
Slug		: github-app-installation-token
Owner		: sammcj
Https Url	: https://github.com/sammcj/github-app-installation-token
Branch		: main
@sammcj sammcj added the bug Something isn't working label Oct 2, 2022
@sammcj
Copy link
Contributor Author

sammcj commented Nov 9, 2022

image

@sammcj
Copy link
Contributor Author

sammcj commented Nov 29, 2022

FYI still an issue on v1.18.0

sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
@sammcj
Copy link
Contributor Author

sammcj commented Nov 29, 2022

This is likely the fix @BetaHuhn - #281

sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
sammcj added a commit to sammcj/repo-file-sync-action that referenced this issue Nov 29, 2022
@BetaHuhnBot
Copy link
Collaborator

🎉 This issue has been resolved in version 1.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

ChrisCarini pushed a commit to ChrisCarini/repo-file-sync-action that referenced this issue Dec 27, 2022
ChrisCarini pushed a commit to ChrisCarini/repo-file-sync-action that referenced this issue Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants