Description
An Angular build that starts from the repository root writes its build cache to /.angular/cache instead of /core-web/.angular/cache, and the root path is not ignored. The result is a 60 MB directory with roughly 400 untracked files sitting at the top of a clean checkout.
/core-web/.angular/cache has been ignored since the file was written, and core-web/.gitignore also carries .angular. Neither rule matches the root path, because both are anchored under core-web.
This issue covers the ignore rule only. What makes a build resolve its cache to the repository root instead of the Angular workspace is not yet identified: a cache in the correct location dates from 21 August, the root one first appeared on 16 September, and the Maven path is not responsible (core-web/pom.xml and nodejs-parent/pom.xml both pin workingDirectory to the module's own basedir). That investigation is deliberately out of scope here.
Acceptance Criteria
Priority
Low
Additional Context
The directory holds only regenerable build cache, so deleting it has no consequence.
Description
An Angular build that starts from the repository root writes its build cache to
/.angular/cacheinstead of/core-web/.angular/cache, and the root path is not ignored. The result is a 60 MB directory with roughly 400 untracked files sitting at the top of a clean checkout./core-web/.angular/cachehas been ignored since the file was written, andcore-web/.gitignorealso carries.angular. Neither rule matches the root path, because both are anchored undercore-web.This issue covers the ignore rule only. What makes a build resolve its cache to the repository root instead of the Angular workspace is not yet identified: a cache in the correct location dates from 21 August, the root one first appeared on 16 September, and the Maven path is not responsible (
core-web/pom.xmlandnodejs-parent/pom.xmlboth pinworkingDirectoryto the module's ownbasedir). That investigation is deliberately out of scope here.Acceptance Criteria
/.angular/is ignored at the repository rootgit statusis clean on a checkout that has a root-level.angulardirectory/core-web/.angular/cacherule is left untouchedPriority
Low
Additional Context
The directory holds only regenerable build cache, so deleting it has no consequence.