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

supabase / auth / 15118456097
69%

Build:
DEFAULT BRANCH: master
Ran 19 May 2025 04:44PM UTC
Jobs 1
Files 139
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

19 May 2025 04:37PM UTC coverage: 70.016% (+0.4%) from 69.637%
15118456097

push

github

web-flow
feat: hooks round 2 - remove indirection and simplify error handling (#2025)

## Hooks Round 2

This PR will contain a series of commits preparing for the
implementation of before & after user created hooks. It takes the
feedback from https://github.com/supabase/auth/pull/2012 into
consideration.

### Summary
Remove indirection and simplify error handling:
* update pkg `internal/api` to:
* uses `internal/hooks/v0hooks.Manager` instead of
`internal/hooks/hooks.Manager`
[aec5995](https://github.com/supabase/auth/pull/2025/commits/aec59956b)
* remove pkg `internal/hooks/hooks.Manager`
[062da5d](https://github.com/supabase/auth/pull/2025/commits/062da5da5)
* add pkg `internal/hooks/hookserrors`
[7e80afc](https://github.com/supabase/auth/pull/2025/commits/7e80afc35)
* use pkg `internal/hooks/hookserrors` in `internal/hooks/v0hooks`
[57744e8](https://github.com/supabase/auth/pull/2025/commits/57744e8c4)
* update pkg `internal/hooks/v0hooks` with an `Enabled` method
[16cc4c9](https://github.com/supabase/auth/pull/2025/commits/16cc4c912)

### Depends on
[feat: hooks round 1](https://github.com/supabase/auth/pull/2023) -
prepare package structure
* Renamed pkg `internal/hooks/v0hooks/v0http` ->
`internal/hooks/hookshttp`
[8a398ab](https://github.com/supabase/auth/pull/2023/commits/<a class=hub.com/supabase/auth/commit/8a398aba564267e4caa4c32bf661699d47d29174">8a398aba5)
* Renamed pkg `internal/hooks/v0hooks/v0pgfunc` ->
`internal/hooks/hookspgfunc`
[8a398ab](https://github.com/supabase/auth/pull/2023/commits/8a398aba564267e4caa4c32bf661699d47d29174)
* Use pkg `internal/e2e` for test setup in:
* pkg `internal/hooks/hookspgfunc`
[4d60288](https://github.com/supabase/auth/pull/2023/commits/4d6028869)
* pkg `internal/hooks/v0hooks`
[4a7432b](https://github.com/supabase/auth/pull/2023/commits/4a7432b66a767c57d25423b1e13708c47cc3a6... (continued)

319 of 321 new or added lines in 11 files covered. (99.38%)

4 existing lines in 2 files now uncovered.

11129 of 15895 relevant lines covered (70.02%)

64.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
70.68
0.98% internal/api/token.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.55
-0.73% internal/api/api.go
2
67.69
-0.51% internal/api/token_refresh.go
Jobs
ID Job ID Ran Files Coverage
1 15118456097.1 19 May 2025 04:44PM UTC 139
70.02
GitHub Action Run
Source Files on build 15118456097
  • Tree
  • List 139
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 26e23f05 on github
  • Prev Build on master (#15111609232)
  • Next Build on master (#15141341085)
  • 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