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

supabase / gotrue / 5614308813
65%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2023 06:01PM UTC
Jobs 1
Files 109
Run time 3s
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

20 Jul 2023 05:54PM UTC coverage: 65.991% (-0.001%) from 65.992%
5614308813

push

github

web-flow
feat: serialized access to session in `refresh_token` grant (#1190)

Improves the `refresh_token` grant flow by serializing access over the
session ID, so that a session cannot concurrently be refreshed.

It achieves this by adding a boolean `forUpdate` parameter to
`models.FindSessionByID()` and `models.FindUserWithRefreshToken()`. This
in turn uses a [`SELECT ... FOR
UPDATE`](https://www.postgresql.org/docs/current/sql-select.html#SQL-FOR-UPDATE-SHARE)
query that locks the row from use with other flows that select it with a
`FOR UPDATE` clause.

60 of 60 new or added lines in 5 files covered. (100.0%)

7191 of 10897 relevant lines covered (65.99%)

50.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5614308813.1 20 Jul 2023 06:01PM UTC 0
65.99
GitHub Action Run
Source Files on build 5614308813
Detailed source file information is not available for this build.
  • Back to Repo
  • a8f17125 on github
  • Prev Build on master (#5610141109)
  • Next Build on master (#5620350741)
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