• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / storage / 26213785588

21 May 2026 08:08AM UTC coverage: 40.286% (-34.7%) from 74.992%
26213785588

Pull #1118

github

web-flow
Merge fcbe53820 into 322ab2ebb
Pull Request #1118: fix: single callback for memory collector

2182 of 5969 branches covered (36.56%)

Branch coverage included in aggregate %.

15 of 15 new or added lines in 2 files covered. (100.0%)

3727 existing lines in 166 files now uncovered.

4335 of 10208 relevant lines covered (42.47%)

35.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/internal/errors/database-error.ts
1
import { DatabaseError } from 'pg'
2

3
export function isDatabaseSlowDownError(error: Error): boolean {
4
  return (
4✔
5
    error instanceof DatabaseError &&
4!
6
    [
7
      'Authentication error', // supavisor specific
8
      'Max client connections reached',
9
      'remaining connection slots are reserved for non-replication superuser connections',
10
      'no more connections allowed',
11
      'sorry, too many clients already',
12
      'server login has been failing, try again later',
13
      'server login has been failing, cached error: connect timeout (server_login_retry)',
14
      'server login has been failing, cached error: the database system is not accepting connections (server_login_retry)',
UNCOV
15
    ].some((msg) => error.message.includes(msg))
×
16
  )
17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc