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

Unleash / unleash / 19536993849
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Nov 2025 12:39PM UTC
Jobs 1
Files 1219
Run time 3min
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 Nov 2025 12:32PM UTC coverage: 91.214% (+0.05%) from 91.164%
19536993849

push

github

web-flow
fix: handle invalid permissions in role creation (#11003)

The `create` and `update` role methods used to blindly accept any
incoming permissions, but if the permissions don't exist in the
database, then the database would throw, yielding a 500 error to the
user.

To fix this, we can validate that all the permissions exist before we
try to add the incoming permissions.

The http error only manifests in enterprise, but the fix requires
modifying the access service. Therefore, I've added the tests to the
access service too, such that if you break something, then you don't
need to wait for it to propagate to enterprise.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>

7254 of 7306 branches covered (99.29%)

30 of 31 new or added lines in 2 files covered. (96.77%)

6 existing lines in 1 file now uncovered.

69214 of 75881 relevant lines covered (91.21%)

443.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
76.68
2.17% src/lib/services/access-service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
6
46.9
-1.03% src/lib/services/email-service.ts
Jobs
ID Job ID Ran Files Coverage
1 19536993849.1 20 Nov 2025 12:39PM UTC 1219
91.21
GitHub Action Run
Source Files on build 19536993849
  • Tree
  • List 1219
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19536993849
  • c29983d8 on github
  • Prev Build on main (#19532881150)
  • Next Build on main (#19566022040)
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