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

Unleash / unleash / 16140487579
86%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 08 Jul 2025 10:23AM UTC
Jobs 1
Files 1186
Run time 2min
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

08 Jul 2025 10:17AM UTC coverage: 89.07% (+0.01%) from 89.056%
16140487579

push

github

web-flow
fix: make user creation transactional (#10327)

## About the changes
When inserting a user with an invalid role id, the user creation will
succeed but there will be no record in the audit log.

The API call returns a 400 misleading you to believe the user was not
created, but it actually was.

This makes the whole user creation transactional, so if something fails,
data will be in the right state.

## Testing
The e2e test was split in 2 scenarios, one with smtp and another one
without.

This test was added, and it was failing before adding the transaction,
because when fetching the users, the user was there, despite having
returned a 400 error in the API call:

https://github.com/Unleash/unleash/blob/80a2e65b6/src/test/e2e/api/admin/user-admin.e2e.test.ts#L181-L204

6957 of 7010 branches covered (99.24%)

88 of 88 new or added lines in 4 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

65269 of 73278 relevant lines covered (89.07%)

437.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
80.47
0.78% src/lib/features/playground/feature-evaluator/constraint.ts
Jobs
ID Job ID Ran Files Coverage
1 16140487579.1 08 Jul 2025 10:23AM UTC 1186
89.07
GitHub Action Run
Source Files on build 16140487579
  • Tree
  • List 1186
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16140487579
  • 2d83f297 on github
  • Prev Build on main (#16140032409)
  • Next Build on main (#16141641279)
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