Skip to content

refactor(migrations): remove unused skipped inputs set - #70977

Merged
atscott merged 1 commit into
angular:mainfrom
yoominho91:refactor/remove-unused-skipped-inputs
Sep 29, 2026
Merged

atscott merged 1 commit into
angular:mainfrom
yoominho91:refactor/remove-unused-skipped-inputs

Conversation

@yoominho91

Copy link
Copy Markdown
Contributor

PR Checklist

  • The commit message follows Angular's guidelines.
  • Tests for the changes have been added (not applicable: no behavior change).
  • Docs have been added / updated (not applicable: no user-facing change).

PR Type

  • Refactoring (no functional changes, no API changes)

What is the current behavior?

filterInputsViaConfig creates a skippedInputs Set and adds a key for each filtered input, but never reads the Set. The migration already records each filtered input through knownInputs.markFieldIncompatible.

Issue Number: N/A

What is the new behavior?

Remove the write-only Set, its insertion, and its unused type import. Migration behavior is unchanged.

Does this PR introduce a breaking change?

  • No

Other information

  • pnpm bazel test //packages/core/schematics/migrations/signal-migration/test:test — passed.
  • pnpm exec prettier --check packages/core/schematics/migrations/signal-migration/src/migration.ts — passed.

The migration already records skipped inputs through markFieldIncompatible. Drop the write-only Set and its unused type import.
@pullapprove
pullapprove Bot requested a review from crisbeto September 27, 2026 06:02
@angular-robot angular-robot Bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Sep 27, 2026
@ngbot ngbot Bot added this to the Backlog milestone Sep 27, 2026
@JeanMeche
JeanMeche removed the request for review from crisbeto September 27, 2026 17:58
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Sep 28, 2026
@atscott
atscott merged commit 81baab4 into angular:main Sep 29, 2026
28 checks passed
@atscott

atscott commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

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

@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants