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

raystack / frontier / 22707974817
40%
main: 40%

Build:
Build:
LAST BUILD BRANCH: fix/navbar-search-ui-shift
DEFAULT BRANCH: main
Ran 05 Mar 2026 08:00AM UTC
Jobs 1
Files 264
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

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

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

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

13605 of 34121 relevant lines covered (39.87%)

12.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22707974817.1 05 Mar 2026 08:00AM UTC 264
39.87
GitHub Action Run
Source Files on build 22707974817
  • Tree
  • List 264
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1439
  • PR Base - main (#22707411071)
  • 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