fix(archive): stop takeOffFutureGames and downgrade P2010 unreachable-database errors to info (BIT-32469) #276

Merged
spark merged 1 commits from fix/BIT-32469-archive-p2010-unreachable into main 2026-11-18 21:54:54 +00:00
Owner

Context

The rematch loop already stopped and downgraded P1001/unreachable-DB errors to info (BIT-32462), but takeOffFutureGames had the same warn-per-folder pattern that pages the error loop for transient blips.

The error in BIT-32469 was a P2010 raw-query wrapper around Can't reach database server at 127.0.0.1:5432, reported from release 902ebda (before BIT-32462 deployed).

Changes

  • Add isPrismaServerUnreachable check to takeOffFutureGames catch: stop the batch and log at info, same as rematch
  • Add pg.test.ts case for P2010 wrapping Can't reach database server
  • Add rematch test variant for the P2010 raw-query wrapper
  • Add takeOffFutureGames test for unreachable-DB stop+downgrade

Paperclip-Issue: BIT-32469
Paperclip-Cluster: 29b596ed90d7

## Context The rematch loop already stopped and downgraded P1001/unreachable-DB errors to info (BIT-32462), but `takeOffFutureGames` had the same warn-per-folder pattern that pages the error loop for transient blips. The error in BIT-32469 was a P2010 raw-query wrapper around `Can't reach database server at 127.0.0.1:5432`, reported from release `902ebda` (before BIT-32462 deployed). ## Changes - Add `isPrismaServerUnreachable` check to `takeOffFutureGames` catch: stop the batch and log at info, same as rematch - Add `pg.test.ts` case for P2010 wrapping `Can't reach database server` - Add rematch test variant for the P2010 raw-query wrapper - Add `takeOffFutureGames` test for unreachable-DB stop+downgrade Paperclip-Issue: BIT-32469 Paperclip-Cluster: 29b596ed90d7
spark added 1 commit 2026-11-18 21:43:44 +00:00
fix(archive): stop takeOffFutureGames and downgrade P2010 unreachable-database errors to info (BIT-32469)
ci / rust (pull_request) Successful in 4m32s
ci / typescript (pull_request) Successful in 9m27s
2bcaf7c983
The rematch loop already stopped and downgraded P1001/unreachable-DB errors
to info (BIT-32462), but takeOffFutureGames had the same warn-per-folder
pattern that pages the error loop for transient blips. The error in BIT-32469
was a P2010 raw-query wrapper around 'Can't reach database server' reported
from release 902ebda (before BIT-32462 deployed).

- Add isPrismaServerUnreachable check to takeOffFutureGames catch: stop the
  batch and log at info, same as rematch
- Add pg.test.ts case for P2010 wrapping 'Can't reach database server'
- Add rematch test variant for the P2010 raw-query wrapper
- Add takeOffFutureGames test for unreachable-DB stop+downgrade

Paperclip-Issue: BIT-32469
Paperclip-Cluster: 29b596ed90d7
spark merged commit 50f813b931 into main 2026-11-18 21:54:54 +00:00
Sign in to join this conversation.