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

raystack / frontier / 29900406738
46%
main: 47%

Build:
Build:
LAST BUILD BRANCH: fix/reconcile-platformuser-r2-r5
DEFAULT BRANCH: main
Ran 22 Jul 2026 07:34AM UTC
Jobs 1
Files 287
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

22 Jul 2026 07:29AM UTC coverage: 46.216% (-0.008%) from 46.224%
29900406738

Pull #1790

github

whoAbhishekSah
fix(auth): return 4xx for bad OIDC authorization codes

AuthCallback returned a 500 (internal) whenever the OIDC token
exchange failed with an oauth2 error like invalid_grant. That error
means the authorization code was bad (expired, already used, or the
redirect did not match) which is a client problem, not a server fault.
It fired a critical alert for normal background noise such as retries,
double submits, and link prefetching.

Detect the oauth2.RetrieveError from the token exchange and wrap it in
a new ErrOIDCTokenExchange sentinel. The handler maps that sentinel to
CodeInvalidArgument so the caller gets a 4xx instead of a 500.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #1790: fix(auth): return 4xx for bad OIDC authorization codes

0 of 8 new or added lines in 2 files covered. (0.0%)

54 existing lines in 2 files now uncovered.

17779 of 38469 relevant lines covered (46.22%)

13.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
14.13
-0.15% core/authenticate/service.go
1
25.42
0.0% internal/api/v1beta1connect/authenticate.go

Coverage Regressions

Lines Coverage ∆ File
38
25.42
0.0% internal/api/v1beta1connect/authenticate.go
16
14.13
-0.15% core/authenticate/service.go
Jobs
ID Job ID Ran Files Coverage
1 29900406738.1 22 Jul 2026 07:34AM UTC 287
46.22
GitHub Action Run
Source Files on build 29900406738
  • Tree
  • List 287
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1790
  • PR Base - main (#29898049098)
  • 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