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

supabase / auth / 17810085746
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: sec-601-password-change-function
DEFAULT BRANCH: master
Ran 17 Sep 2025 08:46PM UTC
Jobs 1
Files 164
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

17 Sep 2025 08:37PM UTC coverage: 67.905% (-0.04%) from 67.949%
17810085746

Pull #2169

github

Chris Stockton
feat: add after-user-created hook

This PR implements the `after-user-created` hook which runs whenever a
new user has been successfully created.

Summary:
- Add `triggerAfterUserCreated` method to the `*API` object
  in `internal/api/hooks.go`
- Update user creation paths to call `triggerAfterUserCreated` after a
  new user is persisted:
  - internal/api/anonymous.go
  - internal/api/external.go
  - internal/api/invite.go
  - internal/api/mail.go
  - internal/api/signup.go
  - internal/api/samlacs.go
  - internal/api/token_oidc.go
  - internal/api/web3.go
- Extend `createAccountFromExternalIdentity` to return an
  `AccountLinkingDecision` to detect newly created accounts
- Add full end-to-end verification of the new hook in
  `internal/api/e2e_test.go`
Pull Request #2169: feat: add after-user-created hook

49 of 102 new or added lines in 10 files covered. (48.04%)

1 existing line in 1 file now uncovered.

12974 of 19106 relevant lines covered (67.91%)

65.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
65.22
-2.22% internal/api/anonymous.go
2
32.5
6.79% internal/api/hooks.go
2
68.0
-1.44% internal/api/invite.go
2
65.63
0.01% internal/api/mail.go
2
66.98
-0.32% internal/api/signup.go
4
82.95
-0.24% internal/api/web3.go
9
12.66
-0.39% internal/api/token_oidc.go
10
3.81
-0.11% internal/api/samlacs.go
20
76.3
-0.09% internal/api/external.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
65.63
0.01% internal/api/mail.go
Jobs
ID Job ID Ran Files Coverage
1 17810085746.1 17 Sep 2025 08:46PM UTC 164
67.91
GitHub Action Run
Source Files on build 17810085746
  • Tree
  • List 164
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2169
  • PR Base - master (#17802496903)
  • 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