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

supabase / auth / 29783498717
72%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2026 10:24PM UTC
Jobs 1
Files 196
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

20 Jul 2026 10:19PM UTC coverage: 71.742% (+0.02%) from 71.718%
29783498717

push

github

web-flow
chore: use appropriate log level based on HTTP status (#2632)

## What kind of change does this PR introduce?

This changes the log level based on the HTTP response status code.

* Server Errors (500+): Use the `error` log level
* Client Errors (400-499): Use the `warning` log level
* 100-399: Use the `info` log level

## What is the current behavior?


https://linear.app/supabase/issue/AUTH-1309/auth-log-level-should-reflect-http-status

```bash
モ curl http://localhost:9999/authorize
{"code":400,"error_code":"validation_failed","msg":"Unsupported provider: Provider  could not be found"}~/supabase/github.com/supabase/auth [xlgmokha/auth-1309]
```

```bash
{"component":"api","error":"Provider  could not be found","level":"info","method":"GET","msg":"400: Unsupported provider: Provider  could not be found","path":"/authorize","referer":"http://localhost:3000","remote_addr":"127.0.0.1","request_id":"a6700057-9a55-47be-8b57-5a3445d692d6","time":"2026-07-20T21:26:24Z"}
{"component":"api","duration":117333,"error_code":"validation_failed","level":"info","method":"GET","msg":"request completed","path":"/authorize","referer":"http://localhost:3000","remote_addr":"127.0.0.1","request_id":"a6700057-9a55-47be-8b57-5a3445d692d6","status":400,"time":"2026-07-20T21:26:24Z"}
```

## What is the new behavior?

```bash
モ curl http://localhost:9999/authorize
{"code":400,"error_code":"validation_failed","msg":"Unsupported provider: Provider  could not be found"}~/supabase/github.com/supabase/auth [xlgmokha/auth-1309]
```

```bash
{"component":"api","error":"Provider  could not be found","level":"warning","method":"GET","msg":"400: Unsupported provider: Provider  could not be found","path":"/authorize","referer":"http://localhost:3000","remote_addr":"127.0.0.1","request_id":"cfde08d8-48f8-4398-a1ef-9c6cdf7e8fde","time":"2026-07-20T21:41:13Z"}
{"component":"api","duration":132333,"error_code":"validation_failed","level":"warning","method":"GET","msg":"request completed","... (continued)

18092 of 25218 relevant lines covered (71.74%)

666.56 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
63.12
-1.42% internal/api/errors.go
Jobs
ID Job ID Ran Files Coverage
1 29783498717.1 20 Jul 2026 10:24PM UTC 196
71.74
GitHub Action Run
Source Files on build 29783498717
  • Tree
  • List 196
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8cb19ef4 on github
  • Prev Build on master (#29747363386)
  • Next Build on master (#29819220947)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc