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

raystack / frontier / 22707974817 / 1
40%
main: 43%

Build:
Build:
LAST BUILD BRANCH: migrate-group-listbyuser-to-membership
DEFAULT BRANCH: main
Ran 05 Mar 2026 08:00AM UTC
Files 264
Run time 6s
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

05 Mar 2026 07:54AM UTC coverage: 39.873% (+0.03%) from 39.848%
22707974817.1

Pull #1439

github

whoAbhishekSah
fix: validate UUID in user Enable and Disable APIs

The Enable and Disable methods in the user service were passing the
user ID directly to the repository without validating it is a valid
UUID. This caused invalid IDs to reach PostgreSQL and return confusing
"not found" errors instead of proper "invalid ID" errors.

Add UUID validation using utils.IsValidUUID() at the start of both
methods, consistent with how GetByID and Update already validate.
The handlers already map ErrInvalidID to CodeInvalidArgument, so
callers now correctly receive a 400 Bad Request for invalid UUIDs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #1439: fix: validate UUID in user Enable and Disable RPCs

13605 of 34121 relevant lines covered (39.87%)

12.86 hits per line

Source Files on job 22707974817.1
  • Tree
  • List 264
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22707974817
  • 35aea1a9 on github
  • Prev Job for on fix/validate-uuid-in-user-state-change (#22707411071.1)
  • 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