Skip to content

refactor(builder): Include component path in versionInfoGenerator logs#1471

Open
RandomByte wants to merge 1 commit into
mainfrom
refactor/version-info-log-component-path
Open

refactor(builder): Include component path in versionInfoGenerator logs#1471
RandomByte wants to merge 1 commit into
mainfrom
refactor/version-info-log-component-path

Conversation

@RandomByte

@RandomByte RandomByte commented Jul 22, 2026

Copy link
Copy Markdown
Member

Several verbose and error logs in isBundledWithLibrary (versionInfoGenerator) reported that a component didn't declare sap.app/embeddedBy, or that its reference didn't point to the library, without naming which component. When a build lists multiple embedded components, the message alone doesn't say which one.

Add the component path to the remaining log messages, matching the format already used by the error branches (Component '${componentPath}': ...). Tests in the processor and the generateVersionInfo task now assert the component path.

Several verbose and error logs in isBundledWithLibrary reported that a
component didn't declare 'sap.app/embeddedBy' or that its reference didn't
point to the library, without naming which component was meant. When a build
lists multiple embedded components, the message alone doesn't say which one.

Include the component path in the remaining log messages, matching the format
already used by the error branches. Update the affected assertions in the
processor and task tests.
@RandomByte
RandomByte marked this pull request as ready for review July 22, 2026 13:18
@RandomByte
RandomByte requested a review from a team July 22, 2026 13:18
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.

1 participant