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

supabase / gotrue / 5739482627
65%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2023 01:36PM UTC
Jobs 1
Files 109
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Aug 2023 01:36PM UTC coverage: 65.982% (-0.1%) from 66.078%
5739482627

push

github

web-flow
feat: retry concurrent refresh token attempts (#1202)

With #1190 each refresh token request was serialized with other such
requests. However, in cases where there's a not-insignificant number of
parallel refresh token requests for the same refresh token, a situation
arises where a significant number of connections are opened against the
database that perform little work. Furthermore, if GoTrue is configured
with a bounded connection pool, this could lead to significantly reduced
performance of the server.

With these changes, when `SELECT ... FOR UPDATE` is used on the refresh
token and session row, it is now done using the `SKIP LOCKED` clause. If
one or both of those rows are already locked, GoTrue will immediately
release the database connection, wait 10-30 ms and try to refresh the
token again. If after 5s the lock cannot be acquired, a HTTP 409
Conflict error will be returned. Clients should consider waiting at
least a few seconds before retrying on this error.

98 of 98 new or added lines in 4 files covered. (100.0%)

7229 of 10956 relevant lines covered (65.98%)

50.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5739482627.1 02 Aug 2023 01:36PM UTC 0
65.98
GitHub Action Run
Source Files on build 5739482627
Detailed source file information is not available for this build.
  • Back to Repo
  • d8940124 on github
  • Prev Build on master (#5737260157)
  • Next Build on master (#5741374570)
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