Skip to content

Revert "perf(@angular/build): skip semantic affected-file walk when type checking is disabled"#33640

Merged
alan-agius4 merged 1 commit into
angular:22.0.xfrom
alan-agius4:fix-22-0-x-build
Jul 23, 2026
Merged

Revert "perf(@angular/build): skip semantic affected-file walk when type checking is disabled"#33640
alan-agius4 merged 1 commit into
angular:22.0.xfrom
alan-agius4:fix-22-0-x-build

Conversation

@alan-agius4

@alan-agius4 alan-agius4 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

This reverts commit 2462709.

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer and removed area: @angular/build labels Jul 23, 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 simplifies the condition for determining affected files in AotCompilation by removing the useTypeScriptTranspilation check. However, the reviewer notes that this change can lead to incorrect build outputs when type-checking is disabled but TypeScript transpilation is active, as it skips the affected files walk. The reviewer recommends retaining the check and provides a code suggestion to define useTypeScriptTranspilation using the compiler options.

Comment thread packages/angular/build/src/tools/angular/compilation/aot-compilation.ts Outdated
@alan-agius4 alan-agius4 changed the title refactor(@angular/build): remove undefined variable in aot-compilation on 22.0.x Revert "perf(@angular/build): skip semantic affected-file walk when type checking is disabled" Jul 23, 2026
@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 Jul 23, 2026
@alan-agius4
alan-agius4 merged commit 0c69328 into angular:22.0.x Jul 23, 2026
34 of 35 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

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

@alan-agius4
alan-agius4 deleted the fix-22-0-x-build branch July 23, 2026 10:24
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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants