Skip to content

Conversation

@RandomByte
Copy link
Member

@RandomByte RandomByte commented May 17, 2023

If a visited module did not resolve to any specification (project or
extensions), try recreating the module when visiting it again from a
different parent.

Resolves UI5/cli#807

This is an alternative to #611

This change might have a greater impact on performance since projectGraphBuilder now might recreate modules that are not relevant to UI5 Tooling more than once if they are listed multiple times in the dependency tree.
Before this change, such modules where only visited once.

If a visited module did not resolve to any specification (project or
extensions), try recreating the module when visiting it again from a
different parent.

Resolves UI5/cli#807

This is an alternative to #611

This change might have a greater impact on performance since er might
recreate modules that are not relevant to UI5 Tooling more than once if
they are listed multiple times in the dependency tree.
Before this change, such modules where only visited once.
@coveralls
Copy link

coveralls commented May 17, 2023

Coverage Status

Coverage: 95.762% (+0.01%) from 95.751% when pulling 8405f7c on fix-invalidate-cached-modules into 9278d76 on main.

@d3xter666 d3xter666 requested review from a team and matz3 May 19, 2023 08:01
matz3
matz3 previously approved these changes May 19, 2023
@RandomByte RandomByte merged commit 65496ea into main May 22, 2023
@RandomByte RandomByte deleted the fix-invalidate-cached-modules branch May 22, 2023 14:22
d3xter666 added a commit to UI5/cli that referenced this pull request Sep 25, 2025
…P/ui5-project#612)

If a visited module did not resolve to any specification (project or
extensions), try recreating the module when visiting it again from a
different parent.

Resolves #807

This is an alternative to SAP/ui5-project#611

This change might have a greater impact on performance since er might
recreate modules that are not relevant to UI5 Tooling more than once if
they are listed multiple times in the dependency tree.
Before this change, such modules where only visited once.

---------

Co-authored-by: Yavor Ivanov <yavor.ivanov@sap.com>
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.

Shims no longer bundled after migration to v3

5 participants