Skip to content

fix: increase max XML size to 1.5GB#43

Merged
xbhouse merged 1 commit into
content-services:masterfrom
xbhouse:increase-max-xml-size
May 20, 2026
Merged

fix: increase max XML size to 1.5GB#43
xbhouse merged 1 commit into
content-services:masterfrom
xbhouse:increase-max-xml-size

Conversation

@xbhouse

@xbhouse xbhouse commented May 20, 2026

Copy link
Copy Markdown
Contributor

Some repos (RHEL 9.8 EUS/E4S aarch64 baseos) exceed 1GB. This increases the max XML size yummy can parse.

Testing steps:

  1. Use your local yummy directory as the backend yummy package in content-sources-backend/go.mod and run go mod tidy:

replace [github.com/content-services/yummy](http://github.com/content-services/yummy) => /path/to/yummy

  1. Try to introspect a large repo (https://cdn.redhat.com/content/e4s/rhel9/9.8/aarch64/baseos/os/ or https://cdn.redhat.com/content/eus/rhel9/9.8/aarch64/baseos/os/). It shouldn't fail.

  2. Without this PR, you'll see an error like this:

An introspection error occurred: XML syntax error on line 12654284: unexpected EOF

@xbhouse xbhouse merged commit 80d893e into content-services:master May 20, 2026
2 checks passed
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.

2 participants