Improve the tests and tooling with dedupe logic. Acceptance criteria: - Implement the change in the tests and tooling. - Add or update tests, docs, or validation for the touched path.
Improve the tests and tooling with dedupe logic.
Acceptance criteria: