Skip to content

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

Merged
minghay merged 6 commits into
screwdriver-cd:masterfrom
raihata:fix-YamlParser-limit
Jul 28, 2026
Merged

feat: make YAML merge key limit configurable [1]#186
minghay merged 6 commits into
screwdriver-cd:masterfrom
raihata:fix-YamlParser-limit

Conversation

@raihata

@raihata raihata commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

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
@minghay
minghay merged commit 3af181d into screwdriver-cd:master Jul 28, 2026
2 checks passed
@sd-buildbot

Copy link
Copy Markdown

🎉 This PR is included in version 12.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@raihata
raihata deleted the fix-YamlParser-limit branch July 28, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants