Files
photoreport/apps
paula-alves 49d3687973
ci / rust (pull_request) Successful in 4m26s
ci / typescript (pull_request) Successful in 9m40s
fix(sports): downgrade 57P03 database-shutting-down errors in syncEventSquads to info (BIT-32470)
Postgres surfaces a graceful shutdown as SQLSTATE 57P03 ("the database system
is shutting down") wrapped inside a PrismaClientKnownRequestError message.
syncEventSquads already stops the batch and logs info for P1001 (server
unreachable) via isPrismaServerUnreachable, but 57P03 escaped the catch and
rejected to the archive caller's warn, paging the error loop for a transient
blip. Extend isPrismaServerUnreachable to also match 57P03 / "the database
system is shutting down" so the same stop-and-retry-next-run path applies.

Paperclip-Issue: BIT-32470
2026-11-18 21:09:37 +00:00
..