Skip to content

refactor(@angular/build): flatten builderName in cache directory path - #34327

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:fix/normalize-cache-builder-name
Oct 13, 2026
Merged

alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:fix/normalize-cache-builder-name

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

Strip @ and replace / in addition to : when normalizing builderName in normalizeCacheOptions so scoped builder names (such as @angular/build:unit-test) produce a single flat cache directory (angular-build-unit-test) instead of nested subdirectories.

@alan-agius4
alan-agius4 force-pushed the fix/normalize-cache-builder-name branch from b421640 to d2b4662 Compare October 13, 2026 13:32
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Oct 13, 2026
@alan-agius4
alan-agius4 requested a review from clydin October 13, 2026 13:32
@alan-agius4
alan-agius4 force-pushed the fix/normalize-cache-builder-name branch from d2b4662 to c3a8150 Compare October 13, 2026 13:33
@alan-agius4 alan-agius4 changed the title fix(@angular/build): flatten builderName in cache directory path refactor(@angular/build): flatten builderName in cache directory path Oct 13, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the cache path normalization logic to remove '@' characters and replace both ':' and '/' characters with '-' in the builder name. The corresponding unit tests have been updated to reflect this change. There are no review comments, and I have no feedback to provide.

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 13, 2026
Strip '@' and replace '/' in addition to ':' when normalizing builderName in normalizeCacheOptions so scoped builder names produce a single flat cache directory instead of nested subdirectories.
@alan-agius4
alan-agius4 force-pushed the fix/normalize-cache-builder-name branch from c3a8150 to d345e32 Compare October 13, 2026 13:34
@alan-agius4
alan-agius4 merged commit 1f31103 into angular:main Oct 13, 2026
39 checks passed
@alan-agius4
alan-agius4 deleted the fix/normalize-cache-builder-name branch October 13, 2026 13:53
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants