refactor: merge relational table projections into one handler (#11740)

## Problem description

During tests we found concurrency issues in the relational table
projections. Tests got flaky if a table (e.g. organization domains) had
too many foreign keys to tables which were projected by another handler.

## Resolution

The projections of the relational tables got merged into one handler to
enforce sequential reduction of events.

## Additional info

- closes https://github.com/zitadel/zitadel/issues/11703
- closes https://github.com/zitadel/zitadel/issues/10810

---------

Co-authored-by: Marco Ardizzone <[email protected]>
This commit is contained in:
Silvan
2026-03-10 17:01:46 +00:00
committed by GitHub
co-authored by Marco Ardizzone
parent 689b90d9d9
commit de1cab9976
30 changed files with 4174 additions and 4259 deletions
@@ -15,7 +15,7 @@ import (
)
func TestInstanceDomainReducers(t *testing.T) {
handler := &instanceDomainRelationalProjection{}
handler := &relationalTablesProjection{}
rawTx, tx := getTransactions(t)
t.Cleanup(func() {