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

supabase / auth / 11595332069
69%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2024 02:35PM UTC
Jobs 1
Files 132
Run time 2min
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

30 Oct 2024 02:29PM UTC coverage: 57.143% (-0.02%) from 57.16%
11595332069

push

github

web-flow
fix: possible panic if refresh token has a null session_id (#1822)

## What kind of change does this PR introduce?
* Prior to the `auth.sessions` table being created, some refresh tokens
can contain a null `session_id`. In those cases, attempting to use those
refresh tokens to obtain a new session will result in a panic.
* This PR creates a new session for those refresh tokens that do not
have a `session_id` to prevent panics from happening.

## What is the current behavior?

Please link any relevant issues here.

## What is the new behavior?

Feel free to include screenshots if it includes visual changes.

## Additional context

Add any other context or screenshots.

8 of 13 new or added lines in 1 file covered. (61.54%)

9564 of 16737 relevant lines covered (57.14%)

54.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
66.84
-1.84% internal/api/token_refresh.go
Jobs
ID Job ID Ran Files Coverage
1 11595332069.1 30 Oct 2024 02:35PM UTC 132
57.14
GitHub Action Run
Source Files on build 11595332069
  • Tree
  • List 132
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7129df4 on github
  • Prev Build on master (#11555996021)
  • Next Build on master (#11632677259)
  • Delete
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

© 2025 Coveralls, Inc