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

Add a setting for maxBuffer parameter for ansible-lint executor #1420

Open
vladislavzl opened this issue Jul 9, 2024 · 2 comments
Open

Add a setting for maxBuffer parameter for ansible-lint executor #1420

vladislavzl opened this issue Jul 9, 2024 · 2 comments
Labels
feature New feature or request

Comments

@vladislavzl
Copy link

Problem

Parsing of ansible-lint output falls in case of large output (more than 10 MB). Right now it's added in commandRunner.ts with hardcoded value for maxBuffer.

Solution

Add a setting with max size for an ansible-lint output.

Alternatives

Increase the maximum value for maxBuffer.

Additional context

The error into VSCode Could not parse ansible-lint output. Please check your ansible-lint installation & configuration. More info in Ansible Server output.

@vladislavzl vladislavzl added feature New feature or request new labels Jul 9, 2024
@audgirka
Copy link
Contributor

@vladislavzl please provide a reproducer for this, so that we can look into this

@audgirka audgirka removed the new label Jul 17, 2024
@vladislavzl
Copy link
Author

Hi @audgirka. Feel free to test with this repo - https://github.com/vladislavzl/test_vscode_ansible/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants