Skip to content

feat: make YAML merge key limit configurable [1]#186

Open
raihata wants to merge 3 commits into
screwdriver-cd:masterfrom
raihata:fix-YamlParser-limit
Open

feat: make YAML merge key limit configurable [1]#186
raihata wants to merge 3 commits into
screwdriver-cd:masterfrom
raihata:fix-YamlParser-limit

Conversation

@raihata

@raihata raihata commented Jul 17, 2026

Copy link
Copy Markdown

Context

Some large pipeline configurations exceed js-yaml's default merge key limit. Disabling the limit entirely is unsafe, so the limit needs to be configurable.

Objective

Allow parsePipelineYaml to accept maxTotalMergeKeys and pass it to js-yaml. Invalid values that could disable the limit are rejected.

References

These three PRs are designed to be backward-compatible, so merging them in any order should not cause failures. However, merging them in the numbered order—[1] config-parser, [2] models, and [3] screwdriver—is recommended to ensure the configuration is propagated correctly.

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@raihata raihata changed the title すみカッコ feat: make YAML merge key limit configurable [1] Jul 17, 2026
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.

1 participant