PDCL-5745: filter out loading descriptors nested within dependencies if they don't
match the platform of the main extension.json at the root project.
Description
When duplicate module paths are pulled in during descriptor resolution, it's possible that we're loading code for the
wrong platform. This manifested by observing trying to test the core-extension but the core-extension-edge modules were used instead since they're a dependency of the sandbox tool.
Could not accurately test the core extension in sandbox anymore. It also seemed like it could be a bigger problem as the same extensions are made for both client and server side.
How Has This Been Tested?
manual verification
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
PDCL-5745: filter out loading descriptors nested within dependencies if they don't match the platform of the main
extension.json
at the root project.Description
When duplicate module paths are pulled in during descriptor resolution, it's possible that we're loading code for the wrong platform. This manifested by observing trying to test the
core-extension
but thecore-extension-edge
modules were used instead since they're a dependency of the sandbox tool.Related Issue
https://jira.corp.adobe.com/browse/PDCL-5745
Motivation and Context
Could not accurately test the core extension in sandbox anymore. It also seemed like it could be a bigger problem as the same extensions are made for both client and server side.
How Has This Been Tested?
manual verification
Screenshots (if appropriate):
Types of changes
Checklist: