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

supabase / auth / 30115927049
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: xlgmokha/auth-1362e
DEFAULT BRANCH: master
Ran 24 Jul 2026 06:17PM UTC
Jobs 1
Files 196
Run time 1min
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

24 Jul 2026 05:51PM UTC coverage: 72.155% (+0.03%) from 72.126%
30115927049

Pull #2646

github

Chris Stockton
chore: modernize HandleResponseError to support errors.As

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 heeps 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.

This should not include any behavior change today, it only
enables wrapping errors without hiding them in responses.
Pull Request #2646: chore: modernize HandleResponseError to support errors.As

93 of 118 new or added lines in 1 file covered. (78.81%)

6 existing lines in 1 file now uncovered.

18321 of 25391 relevant lines covered (72.16%)

665.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
76.97
4.51% internal/api/errors.go

Coverage Regressions

Lines Coverage ∆ File
6
76.97
4.51% internal/api/errors.go
Jobs
ID Job ID Ran Files Coverage
1 30115927049.1 24 Jul 2026 06:17PM UTC 196
72.16
GitHub Action Run
Source Files on build 30115927049
  • Tree
  • List 196
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2646
  • PR Base - master (#30004692450)
  • 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