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

supabase / auth / 26461355138
71%

Build:
DEFAULT BRANCH: master
Ran 26 May 2026 04:35PM UTC
Jobs 1
Files 188
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

26 May 2026 04:31PM UTC coverage: 70.836% (-0.02%) from 70.856%
26461355138

push

github

web-flow
fix(mailer): include SiteURL in notification template data (#2532)

## Summary

The seven notification mail builders (`PasswordChanged`, `EmailChanged`,
`PhoneChanged`, `IdentityLinked`, `IdentityUnlinked`,
`MFAFactorEnrolled`, `MFAFactorUnenrolled`) omitted `SiteURL` from their
template data maps, so templates referencing `{{ .SiteURL }}` render an
empty string at runtime. The standard mail builders (`Invite`,
`Confirmation`, `Recovery`, `MagicLink`, `EmailChange`,
`Reauthentication`) already include it, and `checkDefaults` in
`template.go` already whitelists `SiteURL` for all template types — so
this looks like an oversight from when notification templates were
added, not an intentional restriction.

Closes #2468

## Test plan

- [x] `go build ./...` passes
- [x] `go test ./internal/mailer/templatemailer/...` passes
- [x] `gofmt` clean

Co-authored-by: Chris Stockton <180184+cstockton@users.noreply.github.com>

0 of 9 new or added lines in 1 file covered. (0.0%)

17160 of 24225 relevant lines covered (70.84%)

83.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
66.56
-1.56% internal/mailer/templatemailer/templatemailer.go
Jobs
ID Job ID Ran Files Coverage
1 26461355138.1 26 May 2026 04:35PM UTC 188
70.84
GitHub Action Run
Source Files on build 26461355138
  • Tree
  • List 188
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dc015da4 on github
  • Prev Build on master (#26393733608)
  • Next Build on master (#26463788609)
  • 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