Skip to content

Remove more unused contact references#2961

Open
gbrodman wants to merge 1 commit intogoogle:masterfrom
gbrodman:nonFunctionalContactRemovals
Open

Remove more unused contact references#2961
gbrodman wants to merge 1 commit intogoogle:masterfrom
gbrodman:nonFunctionalContactRemovals

Conversation

@gbrodman
Copy link
Collaborator

@gbrodman gbrodman commented Feb 18, 2026

This avoids changing any functionality, including the bits of DomainCommand (representations of XML files) that reference contacts. Currently, we "allow" parsing of contacts in DomainCommands and fail later as part of the domain flow, even though in practice the parsing itself will fail now that no contacts exist in the database.

Because we wish to keep the "contacts aren't allowed in flows" tests active (e.g.
DomainUpdateFlowTest::testFailure_minimumDataset_whenAddingNewContacts) we have to keep the usages of contacts in DomainCommand active for now.


This change is Reviewable

@gbrodman gbrodman force-pushed the nonFunctionalContactRemovals branch from 5fb462e to a7bd876 Compare February 18, 2026 21:32
This avoids changing any functionality, including the bits of
DomainCommand (representations of XML files) that reference contacts.
Currently, we "allow" parsing of contacts in DomainCommands and fail
later as part of the domain flow,  even though in practice the parsing itself will fail now that no
contacts exist in the database.

Because we wish to keep the "contacts aren't allowed in flows" tests
active (e.g.
DomainUpdateFlowTest::testFailure_minimumDataset_whenAddingNewContacts)
we have to keep the usages of contacts in DomainCommand active for now.
@gbrodman gbrodman force-pushed the nonFunctionalContactRemovals branch from a7bd876 to 0b6985f Compare February 18, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments