feat: add maxAliasCount option to parse function for improved Docker …#3930
Merged
Siumauricio merged 1 commit intocanaryfrom Mar 7, 2026
Conversation
…Compose file handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…Compose file handling
What is this PR about?
Please describe in a short paragraph what this PR is about.
Checklist
Before submitting this PR, please make sure that:
canarybranch.Issues related (if applicable)
closes #3924
Screenshots (if applicable)
Greptile Summary
This PR adds
maxAliasCount: 10000to threeyaml.parse()call sites in Docker Compose file handling, fixing a parsing failure for files that exceed the library's default 100-alias limit. The change is minimal, targeted, and correctly addresses the referenced issue (#3924).Confidence Score: 5/5
maxAliasCount: 10000to threeyaml.parse()calls, directly addressing the reported issue where legitimate Docker Compose files fail to parse due to exceeding the default 100-alias limit. The modification is straightforward with no side effects or functional regressions. The code change logic is trivially correct.Last reviewed commit: 076262e
Context used: