chore: increase package size limit#4666
Merged
openshift-merge-bot[bot] merged 2 commits intoApr 21, 2026
Merged
Conversation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
d4f996b
into
redhat-developer:main
14 of 16 checks passed
gustavolira
added a commit
to gustavolira/rhdh
that referenced
this pull request
May 26, 2026
… the TS implementation Brings the TS port back in sync with three commits that landed on main while this PR was open: - redhat-developer#4576 (OCI disable pre-merge): pre-compute the set of OCI registries that will be effectively disabled after merging, then filter them out of every plugin list before the merge calls skopeo. Avoids wasted remote fetches for plugins the operator already disabled at a higher level. New helpers in src/merger.ts (preMergeOciDisabledState, filterDisabledOciPlugins) and src/oci-key.ts (tryParseOciRegistryAndPath). loadAllPlugins() in src/index.ts now reads every include file up front so the pre-merge pass can run before mergePlugin() touches the OCI cache. - redhat-developer#4666 (MAX_ENTRY_SIZE bump): default from 20MB to 40MB. - redhat-developer#4655 (EXTRA_CATALOG_INDEX_IMAGES): comma-separated catalog index images, each extracted into <CATALOG_ENTITIES_EXTRACT_DIR>/extra/<name>/ catalog-entities. New helpers in src/catalog-index.ts (extractCatalogIndexLayers refactored out of extractCatalogIndex, extractExtraCatalogIndex, parseExtraCatalogIndexImages, imageRefToSubdirectory). New maybeExtractExtraCatalogIndexes() in src/index.ts wires it into runInstaller after the primary catalog index. Tests: 27 new cases under __tests__/merger-pre-merge.test.ts (15) and __tests__/extra-catalog-index.test.ts (12) covering the level-override matrix, ambiguous-pathless detection, same-level duplicates, invalid OCI strings, extensions/marketplace fallback, missing-entities warning, and the duplicate-subdir overwrite warning ordering. Existing tar-extract.test.ts + types.test.ts updated for the new 40MB default. All 155 vitest cases pass. Bundle rebuilt.
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.



Description
Please explain the changes you made here.
20MB-->40MBWhich issue(s) does this PR fix
N/A
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer