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

supabase / auth / 30945096113 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2026 07:55PM UTC
Files 199
Run time 8s
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

04 Aug 2026 07:50PM UTC coverage: 72.232% (+0.02%) from 72.214%
30945096113.1

push

github

web-flow
chore: modernize HandleResponseError to support errors.As (#2646)

Replace the type switches in handleResponseError with errors.As checks
by dispatching to new functions for each error type:
* `HandleResponseError` creates log entry and apiVersion before calling
private func `handleResponseError` which accepts the log and apiVersion.
This keeps the recursion that happens in `handleResponseErrorCause`
cause case from executing twice which can log two errors if invalid.
* `handleResponseError` contains a single switch statement that
dispatches to one of the following funcs in the same sequence as
previously.
    * `handleResponseErrorWeakPassword`
	* `handleResponseErrorHTTP`
	* `handleResponseErrorOAuth`
	* `handleResponseErrorCause`
	* `handleResponseErrorDefault`
* Each private err handler contains the previous code block for the type
switch case and returns a bool to signal if the error was handled or
not.

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>

18388 of 25457 relevant lines covered (72.23%)

685.54 hits per line

Source Files on job 30945096113.1
  • Tree
  • List 199
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30945096113
  • ef6587a6 on github
  • Prev Job for on master (#30933337581.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc