Repository navigation
refactor(@angular/build): add deleteFilesFromDisk utility and rename emit-files-to-disk - #34341
Conversation
…emit-files-to-disk Rename 'emit-files-to-disk.ts' to 'disk-files.ts' and introduce 'deleteFilesFromDisk' to delete removed output files with bounded concurrency.
There was a problem hiding this comment.
Code Review
This pull request consolidates disk file operations by renaming emit-files-to-disk.ts to disk-files.ts and introducing a new deleteFilesFromDisk utility to handle file deletions with bounded concurrency. The inline deletion logic in the application builder has been refactored to use this new utility. Feedback suggests restoring the maxRetries: 3 option in the file deletion logic to prevent flaky failures on environments like Windows where files might be temporarily locked.
|
This PR was merged into the repository. The changes were merged into the following branches:
|
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Rename
emit-files-to-disk.tstodisk-files.tsand introducedeleteFilesFromDiskto delete removed output files with bounded concurrency.Related to #34340.