test(sports): cover 57P03 from personForIdentity sportsPlayer.findMany (BIT-32474) #278

Merged
spark merged 1 commits from fix/BIT-32474-sports-57p03-personforidentity into main 2026-11-18 22:17:06 +00:00
1 Commits
Author SHA1 Message Date
paula-alves b1f0df9662 test(sports): cover 57P03 from personForIdentity sportsPlayer.findMany (BIT-32474)
ci / rust (pull_request) Successful in 4m19s
ci / typescript (pull_request) Successful in 9m29s
BIT-32470 added 57P03 to isPrismaServerUnreachable and proved it for
linkSquadPerson's person.findFirst (FPA licence lookup), but the error
loop reported the same 57P03 one call deeper at personForIdentity's
sportsPlayer.findMany — the path taken when a squad player has no
externalId and is matched by birthDate/fullName. The same
syncEventSquads catch covers it (the error propagates through
linkSquadPerson without a catch), but no test exercised that path.
Add a regression test that makes sportsPlayer.findMany throw 57P03 on
the personForIdentity call and asserts the info-level stop-and-return
zeros behaviour.

Paperclip-Issue: BIT-32474
2026-11-18 22:05:46 +00:00