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

supabase / auth / 15213368793
70%
master: 69%

Build:
Build:
LAST BUILD BRANCH: docs-1710-verify-type-options
DEFAULT BRANCH: master
Ran 23 May 2025 03:10PM UTC
Jobs 1
Files 140
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

23 May 2025 03:01PM UTC coverage: 69.967% (-0.07%) from 70.032%
15213368793

Pull #2034

github

Chris Stockton
feat: hooks round 5 (Option 2) - add before-user-created hook

This commit explores one possible implementation of this hook by:
- Adding a `triggerBeforeUserCreated` method to the `*API` object in `internal/api/hooks.go`
- Adding a `triggerBeforeUserCreatedExternal` method to the `*API` object in `internal/api/hooks.go`
- Updating callers of `signupNewUser` to first call `triggerBeforeUserCreated` in:
    - internal/api/anonymous.go
    - internal/api/external.go
    - internal/api/invite.go
    - internal/api/mail.go
    - internal/api/signup.go
- Updating callers of `signupNewUser` to first call `triggerBeforeUserCreatedExternal` in:
    - internal/api/external.go
    - internal/api/samlacs.go
    - internal/api/token_oidc.go
    - internal/api/web3.go
- Add end to end tests in `internal/api/e2e_test.go`
Pull Request #2034: feat: hooks round 5 (Option 2) - add before-user-created hook

73 of 159 new or added lines in 9 files covered. (45.91%)

2 existing lines in 2 files now uncovered.

11178 of 15976 relevant lines covered (69.97%)

65.12 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
67.44
-2.56% internal/api/anonymous.go
2
75.45
-0.05% internal/api/external.go
2
66.67
-0.33% internal/api/signup.go
2
87.7
-1.28% internal/api/web3.go
3
15.85
-0.26% internal/api/token_oidc.go
6
4.14
-0.08% internal/api/samlacs.go
8
62.21
5.56% internal/api/mail.go
9
65.08
-2.11% internal/api/invite.go
52
18.75
internal/api/hooks.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
65.08
-2.11% internal/api/invite.go
1
62.21
5.56% internal/api/mail.go
Jobs
ID Job ID Ran Files Coverage
1 15213368793.1 23 May 2025 03:10PM UTC 140
69.97
GitHub Action Run
Source Files on build 15213368793
  • Tree
  • List 140
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2034
  • PR Base - master (#15205934189)
  • 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