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

geniusrabbit / blaze-api / 35365839180
4%
main: 4%

Build:
Build:
LAST BUILD BRANCH: cursor/fix-oauth-member-scan-panic-99f3
DEFAULT BRANCH: main
Ran 18 Sep 2026 04:05PM UTC
Jobs 1
Files 257
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

18 Sep 2026 03:59PM UTC coverage: 4.203% (+0.1%) from 4.061%
35365839180

Pull #9

github

cursoragent
Fix OAuth GetByToken panic with GORM many-to-many relation

The GetByToken method was scanning into a generic Member[TUser, TAccount] struct, causing GORM's reflect.StructOf to panic when processing the many-to-many Roles relation with invalid field names from generic types.

Changed to scan into models.MemberBase directly, since the Account and User relations are fetched separately anyway. This avoids the GORM schema-building issue with generic types.

Added test coverage for GetByToken to prevent regression.

Co-authored-by: Dmitry <demdxx@gmail.com>
Pull Request #9: Fix OAuth GetByToken panic with GORM many-to-many relation

8 of 8 new or added lines in 1 file covered. (100.0%)

1155 of 27482 relevant lines covered (4.2%)

0.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 35365839180.1 18 Sep 2026 04:05PM UTC 257
4.2
GitHub Action Run
Source Files on build 35365839180
  • Tree
  • List 257
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9
  • PR Base - main (#35364183929)
  • 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