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

supabase / auth / 22120958351
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: cs/hooks-errors-fix
DEFAULT BRANCH: master
Ran 18 Feb 2026 12:18AM UTC
Jobs 1
Files 172
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

18 Feb 2026 12:10AM UTC coverage: 69.145% (+0.009%) from 69.136%
22120958351

Pull #2380

github

Chris Stockton
fix(hooks): propagate error objects from hook calls

Package `hookerrors` was meant to introduce consistent error
handling across `hookshttp` and `hookspgfunc`. However it was not
being used within the `hookshttp` package. This change fixes that
to have one consistent error mechanism supported across all hooks.

For http hooks specifically there is an error in the supabase docs
that I will resolve in a follow up pr. The status code from the
invoked hook should indicate the response status only for the auth
server. This means a response of 500 will be treated as a failed
invocation of the hook and the response body will not be ready.

Responses will only be read when the status code is 200 or 202. If
so it will read the body, if it is the body will be checked by the
hookserrors package for an error object. If present it will be
propagated to the original client.
Pull Request #2380: fix(hooks): propagate error objects from hook calls

7 of 7 new or added lines in 2 files covered. (100.0%)

15026 of 21731 relevant lines covered (69.15%)

80.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22120958351.1 18 Feb 2026 12:18AM UTC 172
69.15
GitHub Action Run
Source Files on build 22120958351
  • Tree
  • List 172
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2380
  • PR Base - master (#22106554241)
  • 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

© 2026 Coveralls, Inc