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

supabase / auth / 20463603498
69%

Build:
DEFAULT BRANCH: master
Ran 23 Dec 2025 02:47PM UTC
Jobs 1
Files 171
Run time 63min
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 Dec 2025 02:39PM UTC coverage: 68.782% (-0.002%) from 68.784%
20463603498

push

github

web-flow
chore: update Go from v1.23.7 to v1.25.5 (#2303)

Note: this PR depends on https://github.com/supabase/auth/pull/2304

## Update to Go v1.25.5
As part of this upgrade several changes were needed to resolve go vet
failures around non-constant format strings:

- Updating all apierrors constructors to use const fmt strings with args
- Removing fmt.Sprintf usages that violate go vet fmt checks
- Refactoring internal error/message helpers to accept fmt + params

In addition stricter checks in the standard library for x509 certificate
creation required a change to a SAML test in internal/conf. Now I start
with a valid certificate and then set the serial number to an invalid
value. To do this I opted for a small refactor to PopulateFields to
return the cert object instead of copying the code within the test.

## Why update?
Aside from security related reasons and general best practices here are
some highlights im looking forward to!

* The [flight recorder](https://go.dev/blog/flight-recorder) could be
great for debugging performance bottlenecks. I personally am super
excited for this feature, I hope the new streamable tracing API will
enable a new class of interesting visual tools in the future.
* The [synctest](https://pkg.go.dev/testing/synctest) package means no
more DI for `now func() time.Time` :D
* Addition of [t.Context()](https://pkg.go.dev/testing#T.Context) and
[t.Cleanup(func())](https://pkg.go.dev/testing#T.Cleanup) will make
lower friction as we sever ties with our testing framework. There are
other neat API's like `T.Attr` and `T.Output`.
* The new [json/v2](https://pkg.go.dev/encoding/json/v2@go1.25.5)
package offers more efficient memory usage and faster API's. When I've
ran profiling in the past JSON is a significant portion of our CPU time
so we should see some nice gains for this.
* The new
[jsontext](https://pkg.go.dev/encoding/json/jsontext@go1.25.5#example-package-StringReplace)
may come in handy for implementing JWT templates dependin... (continued)

43 of 86 new or added lines in 19 files covered. (50.0%)

14742 of 21433 relevant lines covered (68.78%)

79.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
66.32
0.0% internal/api/admin.go
1
81.58
-0.47% internal/api/logout.go
1
47.64
0.0% internal/api/oauthserver/handlers.go
1
76.32
0.0% internal/api/oauthserver/service.go
1
83.19
0.0% internal/api/phone.go
1
72.92
0.0% internal/api/provider/provider.go
1
66.98
0.0% internal/api/signup.go
1
64.0
0.0% internal/api/token.go
1
82.95
0.0% internal/api/web3.go
2
57.13
0.0% internal/api/mfa.go
2
77.34
0.0% internal/api/middleware.go
2
12.66
0.0% internal/api/token_oidc.go
4
75.93
-2.17% internal/api/auth.go
5
76.12
-0.29% internal/api/external.go
5
80.97
0.0% internal/tokens/service.go
14
66.62
0.0% internal/api/mail.go
Jobs
ID Job ID Ran Files Coverage
1 20463603498.1 23 Dec 2025 02:47PM UTC 171
68.78
GitHub Action Run
Source Files on build 20463603498
  • Tree
  • List 171
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 058836f4 on github
  • Prev Build on master (#20463305468)
  • Next Build on master (#20576804091)
  • 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